Class RosterClientHttpException
Exception to indicate an HTTP response with a non 2xx response that is not specifically handled.
Inheritance
System.Object
RosterClientHttpException
Assembly: Microsoft.XboxStudios.SQTech.Roster.Client.Common.dll
Syntax
public class RosterClientHttpException : RosterClientException
Constructors
View Source
RosterClientHttpException()
Declaration
public RosterClientHttpException()
View Source
RosterClientHttpException(RosterHttpRequestMessage, RosterHttpResponseMessage)
Declaration
public RosterClientHttpException(RosterHttpRequestMessage request, RosterHttpResponseMessage response)
Parameters
View Source
RosterClientHttpException(SerializationInfo, StreamingContext)
Declaration
protected RosterClientHttpException(SerializationInfo info, StreamingContext context)
Parameters
Type |
Name |
Description |
SerializationInfo |
info |
|
StreamingContext |
context |
|
View Source
RosterClientHttpException(String)
Declaration
public RosterClientHttpException(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
View Source
RosterClientHttpException(String, Exception)
Declaration
public RosterClientHttpException(string message, Exception innerException)
Parameters
Type |
Name |
Description |
System.String |
message |
|
Exception |
innerException |
|
View Source
RosterClientHttpException(String, Exception, RosterHttpRequestMessage, RosterHttpResponseMessage)
Declaration
public RosterClientHttpException(string message, Exception innerException, RosterHttpRequestMessage request, RosterHttpResponseMessage response)
Parameters
View Source
RosterClientHttpException(String, RosterHttpRequestMessage, RosterHttpResponseMessage)
Declaration
public RosterClientHttpException(string message, RosterHttpRequestMessage request, RosterHttpResponseMessage response)
Parameters
Properties
View Source
CorrelationId
Gets the Roster telemetry correlation Id of the request.
Declaration
public Guid CorrelationId { get; }
Property Value
View Source
Request
Gets the HTTP request information that caused the exception.
Declaration
public RosterHttpRequestMessage Request { get; }
Property Value
View Source
Response
Gets the HTTP response that triggered this exception.
Declaration
public RosterHttpResponseMessage Response { get; }
Property Value