Class GraphQLFailureData
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
OperationTypestringOperationNamestringRequestUristringDurationTimeSpanExceptionTypestringMessagestringIsCanceledbool
Properties
Duration
public TimeSpan Duration { get; init; }
Property Value
ExceptionType
public string ExceptionType { get; init; }
Property Value
IsCanceled
public bool IsCanceled { get; init; }
Property Value
Message
public string Message { get; init; }
Property Value
OperationName
public string? OperationName { get; init; }
Property Value
OperationType
public string OperationType { get; init; }
Property Value
RequestUri
public string? RequestUri { get; init; }