HandleInitializationContext.CreateAndInitializeHandle<THandle> 方法

定义

创建并初始化类型参数指定的句柄类型的新实例。

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

类型参数

THandle

要创建并初始化的 Handle 的类型。

返回

THandle

类型参数指定的句柄类型的已初始化的新实例。

适用于