SIP .NET Class Library
SIP .NET Class Library
SIP .NET
Independentsoft.Sip
SipClient Class
SipClient Methods
Cancel Method
Cancel Method
Cancel Method (Dialog)

# SipClient Cancel Method (Dialog)

Cancels pending INVITE attempt specified with the early dialog.

Namespace: Independentsoft.Sip
Assembly: Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
C#
VB
Copy

    public RequestResponse Cancel(
    	Dialog earlyDialog
    )

    Public Function Cancel (
    	earlyDialog As Dialog
    ) As RequestResponse

#### Parameters

earlyDialog
  Type: Independentsoft.Sip
  Dialog
  An early dialog represents invitation to session.

#### Return Value

Type: RequestResponse
A RequestResponse containing sent Request and received appropriate Response.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | earlyDialog;Can not send CANCEL request. Dialog is null.

See Also

#### Reference

SipClient Class
Cancel Overload
Independentsoft.Sip Namespace

Copyright 2023 Independentsoft

Send comments on this topic to support@independentsoft.de