ServerAgent.Dispose (bool)

The Dispose(Boolean) method destroys this transaction and releases all unmanaged resources as well as optionally releasing all managed resources.

Syntax

[C#]

  Copy imageCopy Code
protected void Dispose(
  bool disposing
);

Syntax

[Visual Basic .NET]

  Copy imageCopy Code
Protected Sub Dispose( _
  ByVal disposing As bool _
)

Parameters

disposing

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

Return Values

This method has no return values.

Remarks

If a wait handle was retrieved from the server agent, do not use it; this method invalidates it.

Requirements

Redistributable: Requires Microsoft Lync Server 2010

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also

Concepts