ChannelEndpointElement::Contract Property
.NET Framework (current version)
Gets or sets the contract that this endpoint is exposing.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: [ConfigurationPropertyAttribute("contract", DefaultValue = "", Options = ConfigurationPropertyOptions::IsKey)] [StringValidatorAttribute(MinLength = 0)] property String^ Contract { String^ get(); void set(String^ value); }
Property Value
Type: System::String^The contract this endpoint is exposing. The assembly must implement the contract type.
.NET Framework
Available since 3.0
Available since 3.0
Show: