Table of Contents

Class InvalidRequestException

Namespace
Microsoft.ServiceBus
Assembly
Microsoft.ServiceBus.dll

The exception that is thrown when an invalid request occurs.

public class InvalidRequestException : Exception, ISerializable
Inheritance
InvalidRequestException
Implements
Inherited Members

Constructors

InvalidRequestException()

Initializes a new instance of the InvalidRequestException class.

public InvalidRequestException()

InvalidRequestException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidRequestException class using the specified information and context.

protected InvalidRequestException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

Holds the serialized object data about the exception being thrown.

context StreamingContext

Contains contextual information about the source or destination.

InvalidRequestException(string)

Initializes a new instance of the InvalidRequestException class using the specified message.

public InvalidRequestException(string message)

Parameters

message string

The message that describes the error.

InvalidRequestException(string, Exception)

Initializes a new instance of the InvalidRequestException class using the specified message and inner exception.

public InvalidRequestException(string message, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

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