OperationContext.InstanceContext Egenskap

Definition

Hämtar objektet InstanceContext som hanterar den aktuella tjänstinstansen.

public:
 property System::ServiceModel::InstanceContext ^ InstanceContext { System::ServiceModel::InstanceContext ^ get(); };
public System.ServiceModel.InstanceContext InstanceContext { get; }
member this.InstanceContext : System.ServiceModel.InstanceContext
Public ReadOnly Property InstanceContext As InstanceContext

Egenskapsvärde

Objektet InstanceContext för den aktuella tjänsten.

Kommentarer

Använd egenskapen InstanceContext för att komma åt körningsobjektet som hanterar det aktuella tjänstobjektet.

Gäller för