Share via


This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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 Office Communications Server 2007.

Namespace:Microsoft.Rtc.Sip Namespace

Assembly: ServerAgent (in ServerAgent.dll)

Concepts

Transaction_OCS_ServerApi

Transaction.Canceled