Table of Contents

Class ServiceId

Namespace
Microsoft.Exchange.WebServices.Data
Assembly
Microsoft.Exchange.WebServices.dll

Represents the Id of an Exchange object.

public abstract class ServiceId : ComplexProperty
Inheritance
ServiceId
Derived
Inherited Members

Properties

ChangeKey

Gets the change key associated with the Exchange object. The change key represents the the version of the associated item or folder.

public string ChangeKey { get; }

Property Value

string

UniqueId

Gets the unique Id of the Exchange object.

public string UniqueId { get; }

Property Value

string

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Remarks

We do not consider the ChangeKey for ServiceId.Equals.

Exceptions

NullReferenceException

The obj parameter is null.

GetHashCode()

Serves as a hash function for a particular type.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Remarks

We do not consider the change key in the hash code computation.

SameIdAndChangeKey(ServiceId)

Determines whether two ServiceId instances are equal (including ChangeKeys)

public bool SameIdAndChangeKey(ServiceId other)

Parameters

other ServiceId

The ServiceId to compare with the current ServiceId.

Returns

bool

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.