Port.Extensions Property
.NET Framework (current version)
Gets the collection of extensibility elements associated with the Port.
Assembly: System.Web.Services (in System.Web.Services.dll)
Public Overrides ReadOnly Property Extensions As ServiceDescriptionFormatExtensionCollection
Property Value
Type: System.Web.Services.Description.ServiceDescriptionFormatExtensionCollectionThe collection of extensibility elements associated with the port.
' Create a Port. Dim postPort As New Port() postPort.Name = "PortServiceHttpPost" postPort.Binding = New XmlQualifiedName("s0:PortServiceHttpPost") ' Create an HttpAddressBinding. Dim postAddressBinding As New HttpAddressBinding() postAddressBinding.Location = _ "http://localhost/PortClass/PortService.vb.asmx" ' Add the HttpAddressBinding to the Port. postPort.Extensions.Add(postAddressBinding)
.NET Framework
Available since 1.1
Available since 1.1
Show: