Прочитај на енглеском Уреди

Делите путем


Port.Binding Property

Definition

Gets or sets the value of the XML <binding> attribute of the Port.

C#
public System.Xml.XmlQualifiedName Binding { get; set; }

Property Value

The value of the XML binding.

Examples

C#
// Create a Port.
Port postPort = new Port();
postPort.Name = "PortServiceHttpPost";
postPort.Binding = new XmlQualifiedName("s0:PortServiceHttpPost");

Remarks

A binding defines message format and protocol details for operations and messages for a PortType. This property gets or sets those values for a specific Port.

Applies to

Производ Верзије
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)