InstanceStore.DefaultInstanceOwner Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the default instance owner.

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

public InstanceOwner DefaultInstanceOwner { get; set; }

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.


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