Mailbox Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Mailbox() |
Initializes a new instance of the Mailbox class. |
Mailbox(String) |
Initializes a new instance of the Mailbox class with the SMTP address of the mailbox. |
Mailbox(String, String) |
Initializes a new instance of the Mailbox class with the address and routing type of the mailbox. |
Mailbox()
Initializes a new instance of the Mailbox class.
public:
Mailbox();
public Mailbox ();
Public Sub New ()
Applies to
Mailbox(String)
Initializes a new instance of the Mailbox class with the SMTP address of the mailbox.
public:
Mailbox(System::String ^ smtpAddress);
public Mailbox (string smtpAddress);
Public Sub New (smtpAddress As String)
Parameters
- smtpAddress
- String
The primary SMTP address of the mailbox.
Applies to
Mailbox(String, String)
Initializes a new instance of the Mailbox class with the address and routing type of the mailbox.
public:
Mailbox(System::String ^ address, System::String ^ routingType);
public Mailbox (string address, string routingType);
Public Sub New (address As String, routingType As String)
Parameters
- address
- String
The address used to reference the user mailbox.
- routingType
- String
The routing type of the address used to reference the user mailbox.