InstanceStore.DefaultInstanceOwner Proprietà

Definizione

Ottiene o imposta il proprietario dell'istanza predefinito.

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

Valore della proprietà

InstanceOwner

Proprietario dell'istanza predefinito.

Commenti

Alcuni host deducono il proprietario dell'istanza da utilizzare mediante la lettura di questa proprietà. WorkflowApplication può utilizzare questa proprietà. WorkflowServiceHost non utilizza questa proprietà.

La proprietà DefaultInstanceOwner deve essere impostata su Null quando non è più necessaria. Se DefaultInstanceOwner non è null, gli oggetti InstanceStore potrebbero non venire raccolti nel Garbage Collector.

Avviso

Anche se questo metodo è dichiarato come virtual anziché , non esiste alcuna abstract implementazione. Questo metodo deve essere sottoposto a override per fornire funzionalità.

Si applica a