Share via


EndpointReference.PortType Property

Gets or sets the port type for the endpoint.

Namespace: Microsoft.Web.Services2.Addressing
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim endpointReference1 As EndpointReference

Dim returnValue As PortType
returnValue = endpointReference1.PortType

Dim sampleValue As PortType
endpointReference1.PortType = sampleValue

Syntax

'Declaration
Public Property PortType() As PortType
public PortType PortType {get; set;}
public: property PortType^ PortType{
    PortType^ get();
    Void set(PortType^);
}
public PortType get_PortType();
public void set_PortType(PortType);
public function get PortType() : PortType;
public function set PortType(PortType);

Property Value

The PortType for the endpoint.

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 Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

EndpointReference Class
Microsoft.Web.Services2.Addressing Namespace

Other Resources

EndpointReference Members