CreateTestSessionContext Class

Definition

Context passed to a test framework adapter when CreateTestSessionAsync(CreateTestSessionContext) is called.

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

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