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 |
System.Int32
httpResponseCode
Http response code of the service request that failed |
System.String
response
Service request response content |
Dictionary<System.String, System.String>
responseHeaders
Optional collection of request response headers |
SharePoint server error code
public long ServerErrorCode { get; }
System.Int64
|
Outputs a SharePointRestError to a string representation
public override string ToString()
System.String
String representation |