Edit

Share via


WSTrustChannel.Contract Property

Definition

Gets or sets the channel contract the channel uses for sending and receiving messages.

public:  property System::ServiceModel::Security::IWSTrustChannelContract ^ Contract {  public:
System::ServiceModel::Security::IWSTrustChannelContract ^ get(); protected:
 void set(System::ServiceModel::Security::IWSTrustChannelContract ^ value); };
public System.ServiceModel.Security.IWSTrustChannelContract Contract { get; protected set; }
member this.Contract : System.ServiceModel.Security.IWSTrustChannelContract with get, set
Public Property Contract As IWSTrustChannelContract

Property Value

The IWSTrustChannelContract that defines the channel contract.

Remarks

The set accessor is protected.

Applies to