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
domain
Type: System.StringThe domain value.
type
Type: System.StringThe 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. |