Class GraphResponse
Implements
Inherited Members
Namespace: Microsoft.Graph.Communications.Common.Transport
Assembly: Microsoft.Graph.Communications.Common.dll
Syntax
public class GraphResponse : GraphResponse<NoContentMessage>, IGraphResponse, IGraphResponse<NoContentMessage>, IGraphExchange<NoContentMessage>, IGraphExchange
Constructors
GraphResponse(IGraphResponse<NoContentMessage>)
Initializes a new instance of the GraphResponse class. This is a copy constructor.
Declaration
public GraphResponse(IGraphResponse<NoContentMessage> response)
Parameters
Type | Name | Description |
---|---|---|
IGraphResponse<NoContentMessage> | response | The response to be used to create a new instance. |
GraphResponse(ResponseStatus)
Initializes a new instance of the GraphResponse class. Create a new graph response
Declaration
public GraphResponse(ResponseStatus status)
Parameters
Type | Name | Description |
---|---|---|
ResponseStatus | status | Status indicating success/failure/other for the response. |
GraphResponse(String, ResponseStatus, String)
Initializes a new instance of the GraphResponse class.
Declaration
public GraphResponse(string errorContent, ResponseStatus status, string reasonPhrase)
Parameters
Type | Name | Description |
---|---|---|
String | errorContent | Content of the error. |
ResponseStatus | status | The status. |
String | reasonPhrase | The reason phrase. |