InstanceStore.CreateInstanceHandle InstanceStore.CreateInstanceHandle InstanceStore.CreateInstanceHandle InstanceStore.CreateInstanceHandle Method

Definition

Creates an instance handle. If the DefaultInstanceOwner is set, the value is automatically bound as the new handle's instance owner.

Overloads

CreateInstanceHandle() CreateInstanceHandle() CreateInstanceHandle() CreateInstanceHandle()

Creates an instance handle.

CreateInstanceHandle(Guid) CreateInstanceHandle(Guid) CreateInstanceHandle(Guid) CreateInstanceHandle(Guid)

Creates an instance handle. If the DefaultInstanceOwner is set, the value is automatically bound as the new handle's instance owner. The instance identifier passed as a parameter is automatically bound as the new handle's instance.

CreateInstanceHandle(InstanceOwner) CreateInstanceHandle(InstanceOwner) CreateInstanceHandle(InstanceOwner) CreateInstanceHandle(InstanceOwner)

Creates an instance handle. If the instance owner passed as a parameter is not null, the value is automatically bound as the new handle's instance owner. (Otherwise, no instance owner is bound, even if DefaultInstanceOwner is set.)

CreateInstanceHandle(InstanceOwner, Guid) CreateInstanceHandle(InstanceOwner, Guid) CreateInstanceHandle(InstanceOwner, Guid) CreateInstanceHandle(InstanceOwner, Guid)

Creates an instance handle. If the instance owner passed as a parameter is not null, the value is automatically bound as the new handle's instance owner. (Otherwise, no instance owner is bound, even if DefaultInstanceOwner is set.) The instance identifier passed as a parameter is automatically bound as the new handle's instance.

CreateInstanceHandle() CreateInstanceHandle() CreateInstanceHandle() CreateInstanceHandle()

Creates an instance handle.

public:
 System::Runtime::DurableInstancing::InstanceHandle ^ CreateInstanceHandle();
public System.Runtime.DurableInstancing.InstanceHandle CreateInstanceHandle ();
member this.CreateInstanceHandle : unit -> System.Runtime.DurableInstancing.InstanceHandle
Public Function CreateInstanceHandle () As InstanceHandle

Returns

CreateInstanceHandle(Guid) CreateInstanceHandle(Guid) CreateInstanceHandle(Guid) CreateInstanceHandle(Guid)

Creates an instance handle. If the DefaultInstanceOwner is set, the value is automatically bound as the new handle's instance owner. The instance identifier passed as a parameter is automatically bound as the new handle's instance.

public:
 System::Runtime::DurableInstancing::InstanceHandle ^ CreateInstanceHandle(Guid instanceId);
public System.Runtime.DurableInstancing.InstanceHandle CreateInstanceHandle (Guid instanceId);
member this.CreateInstanceHandle : Guid -> System.Runtime.DurableInstancing.InstanceHandle
Public Function CreateInstanceHandle (instanceId As Guid) As InstanceHandle

Parameters

instanceId
Guid Guid Guid Guid

An instance identifier. Must not be Guid.Empty.

Returns

CreateInstanceHandle(InstanceOwner) CreateInstanceHandle(InstanceOwner) CreateInstanceHandle(InstanceOwner) CreateInstanceHandle(InstanceOwner)

Creates an instance handle. If the instance owner passed as a parameter is not null, the value is automatically bound as the new handle's instance owner. (Otherwise, no instance owner is bound, even if DefaultInstanceOwner is set.)

public:
 System::Runtime::DurableInstancing::InstanceHandle ^ CreateInstanceHandle(System::Runtime::DurableInstancing::InstanceOwner ^ owner);
public System.Runtime.DurableInstancing.InstanceHandle CreateInstanceHandle (System.Runtime.DurableInstancing.InstanceOwner owner);
member this.CreateInstanceHandle : System.Runtime.DurableInstancing.InstanceOwner -> System.Runtime.DurableInstancing.InstanceHandle
Public Function CreateInstanceHandle (owner As InstanceOwner) As InstanceHandle

Parameters

owner
InstanceOwner InstanceOwner InstanceOwner InstanceOwner

The owner of an instance.

Returns

The instance handle. A null value indicates that the new handle should not be automatically bound to an instance owner.

CreateInstanceHandle(InstanceOwner, Guid) CreateInstanceHandle(InstanceOwner, Guid) CreateInstanceHandle(InstanceOwner, Guid) CreateInstanceHandle(InstanceOwner, Guid)

Creates an instance handle. If the instance owner passed as a parameter is not null, the value is automatically bound as the new handle's instance owner. (Otherwise, no instance owner is bound, even if DefaultInstanceOwner is set.) The instance identifier passed as a parameter is automatically bound as the new handle's instance.

public:
 System::Runtime::DurableInstancing::InstanceHandle ^ CreateInstanceHandle(System::Runtime::DurableInstancing::InstanceOwner ^ owner, Guid instanceId);
public System.Runtime.DurableInstancing.InstanceHandle CreateInstanceHandle (System.Runtime.DurableInstancing.InstanceOwner owner, Guid instanceId);
member this.CreateInstanceHandle : System.Runtime.DurableInstancing.InstanceOwner * Guid -> System.Runtime.DurableInstancing.InstanceHandle
Public Function CreateInstanceHandle (owner As InstanceOwner, instanceId As Guid) As InstanceHandle

Parameters

owner
InstanceOwner InstanceOwner InstanceOwner InstanceOwner

An InstanceOwner object that represents the owner of an instance. Pass null as the value for this parameter to indicate that the new handle should not be automatically bound to an instance owner.

instanceId
Guid Guid Guid Guid

An instance identifier. Must not be Guid.Empty.

Returns

Applies to