DefaultPortElement::Port Property
.NET Framework (current version)
Gets or sets the default communications port number.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: [ConfigurationPropertyAttribute("port", DefaultValue = 0, Options = ConfigurationPropertyOptions::IsRequired)] [IntegerValidatorAttribute(MinValue = 0, MaxValue = 65535)] property int Port { int get(); void set(int value); }
.NET Framework
Available since 3.0
Available since 3.0
Show: