Show / Hide Table of Contents

    Class GraphResponse

    Inheritance
    Object
    GraphResponse<NoContentMessage>
    GraphResponse
    Implements
    IGraphResponse
    IGraphResponse<NoContentMessage>
    IGraphExchange<NoContentMessage>
    IGraphExchange
    Inherited Members
    GraphResponse<NoContentMessage>.ToString()
    GraphResponse<NoContentMessage>.Content
    GraphResponse<NoContentMessage>.Properties
    GraphResponse<NoContentMessage>.ReasonPhrase
    GraphResponse<NoContentMessage>.ErrorContent
    GraphResponse<NoContentMessage>.Status
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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.

    Implements

    IGraphResponse
    IGraphResponse<T>
    IGraphExchange<T>
    IGraphExchange

    Extension Methods

    AdditionalDataExtensions.SetInAdditionalData(Object, String, Object)
    Extensions.Pin(Object)
    Extensions.ChangeType(Object, Type)
    Extensions.ChangeType<T>(Object)
    Extensions.TryDispose(Object, IGraphLogger)
    ReflectionUtils.GetPropertyUsingReflection(Object, String)
    ReflectionUtils.SetPropertyUsingReflection(Object, String, Object)
    Validator.IsNull(Object, String, String)
    Validator.NotNull<T>(T, String, String)
    Validator.Equals<T>(T, T, String, String)
    Validator.Equals<T, TE>(T, T, String)
    Validator.NotEquals<T>(T, T, String, String)
    GraphResponseExtensions.ToHttpResponseMessage<T>(IGraphResponse<T>, JsonSerializerSettings, IEnumerable<IGraphProperty>)
    Back to top Copyright (c) Microsoft Corporation. All rights reserved.