Class GraphQLFailureData

Namespace
ProtoTest.GraphQL
Assembly
ProtoTest.GraphQL.dll

Failure data attached to a graphql.failure observation. The address and the message are sanitized with the same rules as the response diagnostics, so credentials and sensitive values never reach the trace.

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

Constructors

GraphQLFailureData(string, string?, string?, TimeSpan, string, string, bool)

Failure data attached to a graphql.failure observation. The address and the message are sanitized with the same rules as the response diagnostics, so credentials and sensitive values never reach the trace.

public GraphQLFailureData(string OperationType, string? OperationName, string? RequestUri, TimeSpan Duration, string ExceptionType, string Message, bool IsCanceled)

Parameters

OperationType string
OperationName string
RequestUri string
Duration TimeSpan
ExceptionType string
Message string
IsCanceled bool

Properties

Duration

public TimeSpan Duration { get; init; }

Property Value

TimeSpan

ExceptionType

public string ExceptionType { get; init; }

Property Value

string

IsCanceled

public bool IsCanceled { get; init; }

Property Value

bool

Message

public string Message { get; init; }

Property Value

string

OperationName

public string? OperationName { get; init; }

Property Value

string

OperationType

public string OperationType { get; init; }

Property Value

string

RequestUri

public string? RequestUri { get; init; }

Property Value

string