InstanceStore::DefaultInstanceOwner Property

.NET Framework (current version)
 

Gets or sets the default instance owner.

Namespace:   System.Runtime.DurableInstancing
Assembly:  System.Runtime.DurableInstancing (in System.Runtime.DurableInstancing.dll)

public:
property InstanceOwner^ DefaultInstanceOwner {
	InstanceOwner^ get();
	void set(InstanceOwner^ value);
}

Property Value

Type: System.Runtime.DurableInstancing::InstanceOwner^

The default instance owner.

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 propery must be set to null when it is no longer necessary. InstanceStore objects might not be garbage collected if DefaultInstanceOwner is not null.

System_CAPS_warningWarning

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.

.NET Framework
Available since 4.0
Return to top
Show: