Class ServiceException
Abstract class representing service errors
Inherited Members
Namespace: PnP.Core
Assembly: PnP.Core.dll
Syntax
public class ServiceException : PnPException
Constructors
ServiceException()
Creates a service request exception
Declaration
public ServiceException()
ServiceException(ErrorType, Int32, String)
Creates a service request exception
Declaration
public ServiceException(ErrorType type, int httpResponseCode, string message)
Parameters
ErrorType
type
Error type |
System.Int32
httpResponseCode
Http response code of the service request that got an error back |
System.String
message
Exception message |
ServiceException(String)
Creates a service request exception
Declaration
public ServiceException(string message)
Parameters
System.String
message
Exception message |
ServiceException(String, Exception)
Creates a service request exception
Declaration
public ServiceException(string message, Exception innerException)
Parameters
System.String
message
Exception message |
Exception
innerException
Inner exception to be linked to this ServiceException |