MS.Internal.XcpImports.MethodEx (IntPtr ptr, String name, CValue [] cvData

I get the error "The value is not in the expected range." Below is the stacktrace table. Please, help...

at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData) at MS.Internal.XcpImports.MethodPack(IntPtr objectPtr, String methodName, Object[] rawData) at MS.Internal.XcpImports.UIElement_TransformToVisual(UIElement element, UIElement visual) at Microsoft.Phone.Controls.Pivot.ReleaseMouseCaptureAtGestureOrigin() at Microsoft.Phone.Controls.Pivot.OnManipulationDelta(Object sender, ManipulationDeltaEventArgs args) at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args) at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName) 
+8
windows windows-phone-7
source share
1 answer

Perhaps you are trying to access the main thread object or the thread object of the user interface in an asynchronous function. Because the thread of an asynchronous function has a lower priority, so you cannot access this object of the main thread.

0
source share

All Articles