Class SharePointRestError
SharePoint Rest service error
Inherited Members
Namespace: PnP.Core
Assembly: PnP.Core.dll
Syntax
public class SharePointRestError : ServiceError
SharePoint Rest service error
public class SharePointRestError : ServiceError
Default constructor for the SharePointRestError error
public SharePointRestError(ErrorType type, int httpResponseCode, string response, Dictionary<string, string> responseHeaders = null)
ErrorType
type
ErrorType type of the error |
Int32
httpResponseCode
Http response code of the service request that failed |
String
response
Service request response content |
Dictionary<String, String>
responseHeaders
Optional collection of request response headers |
Outputs a SharePointRestError to a string representation
public override string ToString()
String
String representation |