PartnerException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The standard exception thrown by the partner SDK. This pertains to errors accessing the partner service. Other standard exceptions such as null argument exceptions will also be thrown in case of malformed input.
[System.Serializable]
public class PartnerException : Exception
[<System.Serializable>]
type PartnerException = class
inherit Exception
Public Class PartnerException
Inherits Exception
- Inheritance
-
PartnerException
- Derived
- Attributes
Constructors
| PartnerException() |
Initializes a new instance of the PartnerException class. |
| PartnerException(ApiFault, IRequestContext, PartnerErrorCategory, Exception) |
Initializes a new instance of the PartnerException class. |
| PartnerException(SerializationInfo, StreamingContext) |
Initializes a new instance of the PartnerException class. |
| PartnerException(String) |
Initializes a new instance of the PartnerException class. |
| PartnerException(String, Exception) |
Initializes a new instance of the PartnerException class. |
| PartnerException(String, IRequestContext, PartnerErrorCategory, Exception, Nullable<TimeSpan>) |
Initializes a new instance of the PartnerException class. |
Properties
| Context |
Gets the partner context associated with the exception. |
| ErrorCategory |
Gets the error classification that resulted in this exception. |
| RetryAfter |
Gets the retry after recommendation. |
| ServiceErrorPayload |
Gets the service error payload. |
Methods
| GetObjectData(SerializationInfo, StreamingContext) |
Required override to add in the serialized parameters. |
| ToString() |
Displays the partner exception details. |