Condividi tramite


ServiceName.PortName Property

Gets or sets the name of the port definition for the service.

Namespace: Microsoft.Web.Services3.Addressing
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim serviceName1 As ServiceName

Dim returnValue As String
returnValue = serviceName1.PortName

Dim sampleValue As String
serviceName1.PortName = sampleValue

Syntax

'Declaration
Public Property PortName() As String
public string PortName {get; set;}
public:
property String^ PortName {
    String^ get();
    void set(String^ value);
}
public System.String get_PortName();
public void set_PortName(System.String);
public function get PortName() : String;
public function set PortName(String);

Property Value

The name of the port definition for the service.

Remarks

The PortName property corresponds to the PortName attribute of the <ServiceName> element described in the WS-Addressing specification.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

ServiceName Class
ServiceName Members
Microsoft.Web.Services3.Addressing Namespace