Show / Hide Table of Contents

Class FailedRequestDetail

Detail to return to a user when a controller action fails.

Inheritance
System.Object
FailedRequestDetail
Namespace: Microsoft.XboxStudios.SQTech.Roster
Assembly: Microsoft.GNS.Roster.Common.dll
Syntax
public class FailedRequestDetail : object

Fields

View Source

Empty

Empty FailedRequestDetail.

Declaration
public static readonly FailedRequestDetail Empty
Field Value
Type Description
FailedRequestDetail

Properties

View Source

AdditionalInfo

Gets additional information to share about the failure.

Declaration
public Dictionary<string, string> AdditionalInfo { get; }
Property Value
Type Description
Dictionary<System.String, System.String>
View Source

AuthenticationType

Gets or sets the type of authentication used by the UserPrincipal.

Declaration
public string AuthenticationType { get; set; }
Property Value
Type Description
System.String
View Source

Environment

Gets or sets the environment in which the failure occurred.

Declaration
public string Environment { get; set; }
Property Value
Type Description
System.String
View Source

ExceptionDetail

Gets or sets the exception raised that caused the failure.

Declaration
public string ExceptionDetail { get; set; }
Property Value
Type Description
System.String
View Source

Reason

Gets or sets the reason from the Roster server.

Declaration
public ResponseReason Reason { get; set; }
Property Value
Type Description
ResponseReason
View Source

TrackingId

Gets or sets a unique ID for a failure. This is required for DiagnosticMessage() to function.

Declaration
public Guid TrackingId { get; set; }
Property Value
Type Description
Guid
View Source

UserPrincipal

Gets or sets the user email formatted principal name that triggered the failure.

Declaration
public string UserPrincipal { get; set; }
Property Value
Type Description
System.String

Methods

View Source

DiagnosticMessage()

Generates a diagnostic message if TrackingId is set.

Declaration
public string DiagnosticMessage()
Returns
Type Description
System.String

A diagnostic message string.

View Source

IsValid()

Determines if the object has basic properties.

Declaration
public bool IsValid()
Returns
Type Description
System.Boolean

True if valid. Otherwise, false.

  • View Source
In This Article
Back to top Generated by DocFX