OperationContext.InstanceContext Property

Definition

Gets the InstanceContext object that manages the current service instance.

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

Property Value

The InstanceContext object for the current service.

Remarks

Use the InstanceContext property to access the run-time object that manages the current service object.

Applies to