CloseTestSessionContext Class

Definition

Context passed to a test framework adapter when CloseTestSessionAsync(CloseTestSessionContext) is called.

public sealed class CloseTestSessionContext : Microsoft.Testing.Platform.TestHost.TestSessionContext
type CloseTestSessionContext = class
    inherit TestSessionContext
Public NotInheritable Class CloseTestSessionContext
Inherits TestSessionContext
Inheritance
CloseTestSessionContext

Properties

Name Description
CancellationToken

Gets the cancellation token used to cancel the operation.

Client
Obsolete.

Gets the client information associated with the test session.

(Inherited from TestSessionContext)
SessionUid

Gets the unique identifier of the test session.

(Inherited from TestSessionContext)

Applies to