Поделиться через


RoutingDomain constructor (String, String)

Initializes a new instance of the RoutingDomain class to the specified domain and type.

Namespace:  Microsoft.Exchange.Data.Transport
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public Sub New ( _
    domain As String, _
    type As String _
)
'Usage
Dim domain As String
Dim type As String

Dim instance As New RoutingDomain(domain, _
    type)
public RoutingDomain(
    string domain,
    string type
)

Parameters

  • type
    Type: System.String

    The string representation of the domain type, such as "smtp".

Exceptions

Exception Condition
[FormatException]

The domain is invalid.

-or-

The domain is null or empty.

-or-

The type parameter is null or empty.

-or-

The type parameter contains invalid characters.

See also

Reference

RoutingDomain structure

RoutingDomain members

RoutingDomain overload

Microsoft.Exchange.Data.Transport namespace