Class WebBackendOperationContext

Namespace
ProtoTest.Web
Assembly
ProtoTest.Web.dll

One semantic operation as the backend sees it. ParentCorrelationId is set only when the operation was started inside another operation's explicit nesting scope (a WaitUntilAsync condition), which lets a backend group native diagnostics by operation lineage instead of guessing from flow-local state.

public sealed record WebBackendOperationContext : IEquatable<WebBackendOperationContext>
Inheritance
WebBackendOperationContext
Implements
Inherited Members
Extension Methods

Constructors

WebBackendOperationContext(string, string, WebOperationKind, string, WebElementReference?, string?)

One semantic operation as the backend sees it. ParentCorrelationId is set only when the operation was started inside another operation's explicit nesting scope (a WaitUntilAsync condition), which lets a backend group native diagnostics by operation lineage instead of guessing from flow-local state.

public WebBackendOperationContext(string CorrelationId, string SessionName, WebOperationKind Kind, string Name, WebElementReference? Element, string? ParentCorrelationId = null)

Parameters

CorrelationId string
SessionName string
Kind WebOperationKind
Name string
Element WebElementReference
ParentCorrelationId string

Properties

CorrelationId

public string CorrelationId { get; init; }

Property Value

string

Element

public WebElementReference? Element { get; init; }

Property Value

WebElementReference

Kind

public WebOperationKind Kind { get; init; }

Property Value

WebOperationKind

Name

public string Name { get; init; }

Property Value

string

ParentCorrelationId

public string? ParentCorrelationId { get; init; }

Property Value

string

SessionName

public string SessionName { get; init; }

Property Value

string