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
UniqueId
Gets the unique Id of the Exchange object.
public string UniqueId { get; }
Property Value
Methods
Equals(object)
public override bool Equals(object obj)
Parameters
Returns
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
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
ServiceIdThe ServiceId to compare with the current ServiceId.
Returns
ToString()
public override string ToString()