Sdílet prostřednictvím


Server.CancelSession Method

Definition

Overloads

CancelSession(String, Boolean)

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

CancelSession(Int32, Boolean)

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

CancelSession(Int32)

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

CancelSession()

Cancels the current session (a new temporary connection is used).

CancelSession(String)

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

CancelSession(String, Boolean)

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

public void CancelSession (string sessionId, bool cancelAssociated);
member this.CancelSession : string * bool -> unit
Public Sub CancelSession (sessionId As String, cancelAssociated As Boolean)

Parameters

sessionId
String

The session identifier.

cancelAssociated
Boolean

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

Applies to

CancelSession(Int32, Boolean)

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

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

Parameters

sessionId
Int32

The session identifier.

cancelAssociated
Boolean

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

Applies to

CancelSession(Int32)

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

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

Parameters

sessionId
Int32

The session identifier.

Applies to

CancelSession()

Cancels the current session (a new temporary connection is used).

public void CancelSession ();
member this.CancelSession : unit -> unit
Public Sub CancelSession ()

Applies to

CancelSession(String)

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

public void CancelSession (string sessionId);
member this.CancelSession : string -> unit
Public Sub CancelSession (sessionId As String)

Parameters

sessionId
String

The session identifier.

Applies to