ComContractElement.Contract Property

 

Gets or sets the contract type.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[ConfigurationPropertyAttribute("contract", Options = ConfigurationPropertyOptions.None | ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)]
[StringValidatorAttribute(MinLength = 1)]
public string Contract { get; set; }

Property Value

Type: System.String

The contract type.

.NET Framework
Available since 3.0
Return to top
Show: