Edit

Share via


InstanceStore.DefaultInstanceOwner Property

Definition

Gets or sets the default instance owner.

public:
 property System::Runtime::DurableInstancing::InstanceOwner ^ DefaultInstanceOwner { System::Runtime::DurableInstancing::InstanceOwner ^ get(); void set(System::Runtime::DurableInstancing::InstanceOwner ^ value); };
public System.Runtime.DurableInstancing.InstanceOwner DefaultInstanceOwner { get; set; }
member this.DefaultInstanceOwner : System.Runtime.DurableInstancing.InstanceOwner with get, set
Public Property DefaultInstanceOwner As InstanceOwner

Property Value

The default instance owner.

Remarks

Some hosts infer the instance owner to use by reading this property. WorkflowApplication can use this property. WorkflowServiceHost does not use this property.

The DefaultInstanceOwner property must be set to null when it is no longer necessary. InstanceStore objects might not be garbage collected if DefaultInstanceOwner is not null.

Warning

Even though this method is declared as virtual rather than abstract, there is no implementation. This method must be overridden in order to provide functionality.

Applies to