Overlapped::Unpack Method (NativeOverlapped*)
.NET Framework (current version)
Unpacks the specified unmanaged NativeOverlapped structure into a managed Overlapped object.
This API is not CLS-compliant.
Assembly: mscorlib (in mscorlib.dll)
public: [SecurityCriticalAttribute] [CLSCompliantAttribute(false)] static Overlapped^ Unpack( NativeOverlapped* nativeOverlappedPtr )
Parameters
- nativeOverlappedPtr
-
Type:
System.Threading::NativeOverlapped*
An unmanaged pointer to a NativeOverlapped structure.
Return Value
Type: System.Threading::Overlapped^An Overlapped object containing the information unpacked from the native structure.
| Exception | Condition |
|---|---|
| ArgumentNullException | nativeOverlappedPtr is null. |
The NativeOverlapped structure is not freed from physical memory until you call the Free method.
SecurityCriticalAttribute
Requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Available since 1.1
Silverlight
Available since 2.0
Show: