Edit

Share via


AlternateId Constructors

Definition

Overloads

AlternateId()

Initializes a new instance of the AlternateId class.

AlternateId(IdFormat, String, String)

Initializes a new instance of the AlternateId class by using the supplied format, identifier, and mailbox SMTP address.

AlternateId(IdFormat, String, String, Boolean)

Initializes a new instance of the AlternateId class by using the supplied format, identifier, mailbox SMTP address, and archive identifier flag.

AlternateId()

Initializes a new instance of the AlternateId class.

public:
 AlternateId();
public AlternateId ();
Public Sub New ()

Applies to

AlternateId(IdFormat, String, String)

Initializes a new instance of the AlternateId class by using the supplied format, identifier, and mailbox SMTP address.

public:
 AlternateId(Microsoft::Exchange::WebServices::Data::IdFormat format, System::String ^ id, System::String ^ mailbox);
public AlternateId (Microsoft.Exchange.WebServices.Data.IdFormat format, string id, string mailbox);
Public Sub New (format As IdFormat, id As String, mailbox As String)

Parameters

format
IdFormat

The identifier format of the identifier to convert.

id
String

The identifier to convert.

mailbox
String

The SMTP address of the mailbox that contains the identifier to convert.

Applies to

AlternateId(IdFormat, String, String, Boolean)

Initializes a new instance of the AlternateId class by using the supplied format, identifier, mailbox SMTP address, and archive identifier flag.

public:
 AlternateId(Microsoft::Exchange::WebServices::Data::IdFormat format, System::String ^ id, System::String ^ mailbox, bool isArchive);
public AlternateId (Microsoft.Exchange.WebServices.Data.IdFormat format, string id, string mailbox, bool isArchive);
Public Sub New (format As IdFormat, id As String, mailbox As String, isArchive As Boolean)

Parameters

format
IdFormat

The identifier format of the identifier to convert.

id
String

The identifier to convert.

mailbox
String

The SMTP address of the mailbox that contains the identifier to convert.

isArchive
Boolean

A flag that indicates whether the identifier is from an archived item.

Remarks

This overload is applicable to clients that target versions of Microsoft Exchange Server starting with Exchange Server 2010 Service Pack 1 (SP1).

Applies to