Releases the unmanaged resources used by this object and optionally releases the managed resources.

Namespace:  Microsoft.Rtc.Sip
Assembly:  ServerAgent(in ServerAgent.dll)

Syntax

Visual Basic (declaration)
Protected 
Overridable 
Sub 
Dispose ( _
	
disposing 
As 
Boolean _
)
Visual Basic (usage)
Dim 
disposing 
As 
Boolean

Me.
Dispose(
disposing)
C#
protected 
virtual 
void 
Dispose(
	
bool 
disposing
)

Parameters

disposing
Type: System . . :: . . Boolean

If true , managed resources as well as unmanaged resources are released; if false , only unmanaged resources are disposed.

Remarks

If a wait handle was retrieved from the server agent, it must no longer be used, as it is invalidated by this method.

See also