Class SharePointRestServiceException
Microsoft SharePoint REST Service exception
Inherited Members
Namespace: PnP.Core
Assembly: PnP.Core.dll
Syntax
public class SharePointRestServiceException : ServiceException
Microsoft SharePoint REST Service exception
public class SharePointRestServiceException : ServiceException
Creates a SharePointRestServiceException using the provided error type, http response code and request response
public SharePointRestServiceException(ErrorType type, int httpResponseCode, string response, Dictionary<string, string> responseHeaders = null)
ErrorType
type
Type of the error |
System.Int32
httpResponseCode
Http response code of the service request |
System.String
response
Response of the service request that errored out |
Dictionary<System.String, System.String>
responseHeaders
Optional collection of request response headers |
Outputs a SharePointRestServiceException to a string representation
public override string ToString()
System.String
String representation |