ContactReader.CheckDisposed method
The CheckDisposed(String) method checks if the specified contact reader has been disposed.
Namespace: Microsoft.Exchange.Data.ContentTypes.vCard
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Protected Sub CheckDisposed ( _
methodName As String _
)
'Usage
Dim methodName As String
Me.CheckDisposed(methodName)
protected void CheckDisposed(
string methodName
)
Parameters
methodName
Type: System.StringThe name of the method calling the CheckDisposed(String) method.
Exceptions
Exception | Condition |
---|---|
[System.ObjectDisposedExcepetion] | The Close() method of the ContactReader has been called. |