InstanceStore.DefaultInstanceOwner Proprietà

Definizione

Ottiene o imposta il proprietario predefinito dell'istanza.

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à

Proprietario predefinito dell'istanza.

Commenti

Alcuni host deducono il proprietario dell'istanza da usare leggendo questa proprietà. WorkflowApplication può utilizzare questa proprietà. WorkflowServiceHost non usa questa proprietà.

La proprietà DefaultInstanceOwner deve essere impostata su Null quando non è più necessaria. Gli oggetti InstanceStore potrebbero non essere sottoposto a Garbage Collection se DefaultInstanceOwner non è Null.

Avvertimento

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

Si applica a