Show / Hide Table of Contents

    Class ServiceException

    A Service Exception.

    Inheritance
    Object
    ServiceException
    Namespace: Microsoft.Graph.Communications.Core.Exceptions
    Assembly: Microsoft.Graph.Communications.Core.dll
    Syntax
    [Obsolete("Deprecated, please use Microsoft.Graph.ServiceException instead.")]
    public class ServiceException : ServiceException

    Constructors

    ServiceException(Error, Exception)

    Initializes a new instance of the ServiceException class.

    Declaration
    [Obsolete("Deprecated, please use Microsoft.Graph.ServiceException instead.")]
    public ServiceException(Error error = null, Exception innerException = null)
    Parameters
    Type Name Description
    Error error

    The error.

    Exception innerException

    The inner exception.

    ServiceException(Error, HttpResponseHeaders, HttpStatusCode, Exception)

    Initializes a new instance of the ServiceException class.

    Declaration
    [Obsolete("Deprecated, please use Microsoft.Graph.ServiceException instead.")]
    public ServiceException(Error error, HttpResponseHeaders responseHeaders, HttpStatusCode statusCode, Exception innerException = null)
    Parameters
    Type Name Description
    Error error

    The error.

    HttpResponseHeaders responseHeaders

    The response headers.

    HttpStatusCode statusCode

    The status code.

    Exception innerException

    The inner exception.

    See Also

    ServiceException
    Back to top Copyright (c) Microsoft Corporation. All rights reserved.