InstanceStore.DefaultInstanceOwner Propriedade

Definição

Obtém ou define o proprietário da instância padrão.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

Valor da propriedade

InstanceOwner

O proprietário da instância padrão.The default instance owner.

Comentários

Alguns hosts inferem o proprietário da instância a ser usado lendo esta propriedade.Some hosts infer the instance owner to use by reading this property. WorkflowApplication pode usar essa propriedade.WorkflowApplication can use this property. WorkflowServiceHost não usa essa propriedade.WorkflowServiceHost does not use this property.

A propriedade DefaultInstanceOwner deve ser definida como NULL quando não for mais necessária.The DefaultInstanceOwner property must be set to null when it is no longer necessary. Os objetos do InstanceStore podem não ser coletados pelo lixo se DefaultInstanceOwner não for nulo.InstanceStore objects might not be garbage collected if DefaultInstanceOwner is not null.

Aviso

Embora esse método seja declarado como virtual em vez de abstract , não há nenhuma implementação.Even though this method is declared as virtual rather than abstract, there is no implementation. Esse método deve ser substituído para fornecer a funcionalidade.This method must be overridden in order to provide functionality.

Aplica-se a