Server.CancelConnection Method

Definition

Overloads

CancelConnection(Int32)

Cancels the specified connection (a new temporary connection is used).

CancelConnection(Int32, Boolean)

Cancels the specified connection (a new temporary connection is used).

CancelConnection(Int32)

Cancels the specified connection (a new temporary connection is used).

public void CancelConnection (int connectionId);
member this.CancelConnection : int -> unit
Public Sub CancelConnection (connectionId As Integer)

Parameters

connectionId
Int32

The connection identifier to cancel.

Applies to

CancelConnection(Int32, Boolean)

Cancels the specified connection (a new temporary connection is used).

public void CancelConnection (int connectionId, bool cancelAssociated);
member this.CancelConnection : int * bool -> unit
Public Sub CancelConnection (connectionId As Integer, cancelAssociated As Boolean)

Parameters

connectionId
Int32

The connection identifier to cancel.

cancelAssociated
Boolean

true to indicate that the associated connections will be canceled; otherwise, false.

Applies to