Share via


Transaction.Cancel

Transaction.Cancel

The Cancel method cancels the transaction and raises the Transaction.Canceled event.

Syntax

[C#]

public void Cancel();

Syntax

[Visual Basic .NET]

Public Sub Cancel()

Parameters

This method has no parameters.

Return Values

This method has no return values.

Remarks

Transaction cancellation occurs when the transaction receives a CANCEL request method or 487 "Request Terminated" response.

Requirements

Redistributable: Requires Microsoft Lync Server 2010

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also

Concepts

Transaction Sip Class

Transaction.Canceled