PartnerResponseParseException Constructors

Definition

Overloads

PartnerResponseParseException()

Initializes a new instance of the PartnerResponseParseException class.

PartnerResponseParseException(String)

Initializes a new instance of the PartnerResponseParseException class.

PartnerResponseParseException(SerializationInfo, StreamingContext)

Initializes a new instance of the PartnerResponseParseException class.

PartnerResponseParseException(String, Exception)

Initializes a new instance of the PartnerResponseParseException class.

PartnerResponseParseException(String, IRequestContext, String, Exception)

Initializes a new instance of the PartnerResponseParseException class.

PartnerResponseParseException()

Initializes a new instance of the PartnerResponseParseException class.

public PartnerResponseParseException ();
Public Sub New ()

Applies to

PartnerResponseParseException(String)

Initializes a new instance of the PartnerResponseParseException class.

public PartnerResponseParseException (string message);
new Microsoft.Store.PartnerCenter.Exceptions.PartnerResponseParseException : string -> Microsoft.Store.PartnerCenter.Exceptions.PartnerResponseParseException
Public Sub New (message As String)

Parameters

message
String

The exception message.

Applies to

PartnerResponseParseException(SerializationInfo, StreamingContext)

Initializes a new instance of the PartnerResponseParseException class.

protected PartnerResponseParseException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Store.PartnerCenter.Exceptions.PartnerResponseParseException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Store.PartnerCenter.Exceptions.PartnerResponseParseException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

Serialization information.

context
StreamingContext

Streaming context.

Applies to

PartnerResponseParseException(String, Exception)

Initializes a new instance of the PartnerResponseParseException class.

public PartnerResponseParseException (string message, Exception innerException);
new Microsoft.Store.PartnerCenter.Exceptions.PartnerResponseParseException : string * Exception -> Microsoft.Store.PartnerCenter.Exceptions.PartnerResponseParseException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The exception message.

innerException
Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

Applies to

PartnerResponseParseException(String, IRequestContext, String, Exception)

Initializes a new instance of the PartnerResponseParseException class.

public PartnerResponseParseException (string response, Microsoft.Store.PartnerCenter.RequestContext.IRequestContext context, string message = "", Exception innerException = default);
new Microsoft.Store.PartnerCenter.Exceptions.PartnerResponseParseException : string * Microsoft.Store.PartnerCenter.RequestContext.IRequestContext * string * Exception -> Microsoft.Store.PartnerCenter.Exceptions.PartnerResponseParseException
Public Sub New (response As String, context As IRequestContext, Optional message As String = "", Optional innerException As Exception = Nothing)

Parameters

response
String

The HTTP response payload which could not be parsed.

context
IRequestContext

The partner context.

message
String

The exception message.

innerException
Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

Applies to