Share via


SoapTransport.GetCanonicalHostName Method

Gets a canonicalized version of the specified URI.

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

Usage

'Usage
Dim uri As Uri
Dim returnValue As String
returnValue = SoapTransport.GetCanonicalHostName(uri)

Syntax

'Declaration
Public Shared Function GetCanonicalHostName( _
    ByVal uri As Uri _
) As String
public static string GetCanonicalHostName(
    Uri uri
);
public:
static String^ GetCanonicalHostName(
    Uri^ uri
);
public static System.String GetCanonicalHostName(
    Uri uri
);
public static function GetCanonicalHostName(
     uri : Uri
) : String;

Parameters

  • uri
    A System.Uri that represents the host name.

Return Value

A canonicalized version of uri.

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

SoapTransport Class
SoapTransport Members
Microsoft.Web.Services3.Messaging Namespace