HandleInitializationContext.CreateAndInitializeHandle<THandle> Method
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.
Creates and initializes a new instance of the handle type specified by the type parameter.
public:
generic <typename THandle>
where THandle : System::Activities::Handle THandle CreateAndInitializeHandle();
public THandle CreateAndInitializeHandle<THandle> () where THandle : System.Activities.Handle;
member this.CreateAndInitializeHandle : unit -> 'Handle (requires 'Handle :> System.Activities.Handle)
Public Function CreateAndInitializeHandle(Of THandle As Handle) () As THandle
Type Parameters
- THandle
The type of the Handle to create and initialize.
Returns
THandle
A new initialized instance of the handle type specified by the type parameter.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.