SafeHandleMarshaller<T>.ManagedToUnmanagedOut Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Marshals a SafeHandle as its underlying handle value as an out
parameter in managed-to-unmanaged scenarios like P/Invokes.
public: where T : SafeHandlevalue class SafeHandleMarshaller<T>::ManagedToUnmanagedOut
public struct SafeHandleMarshaller<T>.ManagedToUnmanagedOut where T : SafeHandle
type SafeHandleMarshaller<'T (requires 'T :> SafeHandle)>.ManagedToUnmanagedOut = struct
Public Structure SafeHandleMarshaller(Of T).ManagedToUnmanagedOut
Type Parameters
- T
- Inheritance
Constructors
SafeHandleMarshaller<T>.ManagedToUnmanagedOut() |
Initializes a new instance of SafeHandleMarshaller<T>.ManagedToUnmanagedOut in a default state. |
Methods
Free() |
Frees any resources and reference counts owned by the marshaller. |
FromUnmanaged(IntPtr) |
Initializes the marshaller from an unmanaged handle. |
ToManaged() |
Retrieves the managed handle from the marshaller. |
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.