InvalidRequestException Constructors
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.
Overloads
InvalidRequestException() |
Initializes a new instance of the InvalidRequestException class. |
InvalidRequestException(String) |
Initializes a new instance of the InvalidRequestException class using the specified message. |
InvalidRequestException(SerializationInfo, StreamingContext) |
Initializes a new instance of the InvalidRequestException class using the specified information and context. |
InvalidRequestException(String, Exception) |
Initializes a new instance of the InvalidRequestException class using the specified message and inner exception. |
InvalidRequestException()
Initializes a new instance of the InvalidRequestException class.
public InvalidRequestException ();
Public Sub New ()
Applies to
InvalidRequestException(String)
Initializes a new instance of the InvalidRequestException class using the specified message.
public InvalidRequestException (string message);
new Microsoft.ServiceBus.InvalidRequestException : string -> Microsoft.ServiceBus.InvalidRequestException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
InvalidRequestException(SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidRequestException class using the specified information and context.
protected InvalidRequestException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.ServiceBus.InvalidRequestException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.ServiceBus.InvalidRequestException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
Holds the serialized object data about the exception being thrown.
- context
- StreamingContext
Contains contextual information about the source or destination.
Applies to
InvalidRequestException(String, Exception)
Initializes a new instance of the InvalidRequestException class using the specified message and inner exception.
public InvalidRequestException (string message, Exception innerException);
new Microsoft.ServiceBus.InvalidRequestException : string * Exception -> Microsoft.ServiceBus.InvalidRequestException
Public Sub New (message As String, innerException As Exception)
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.
Applies to
Azure SDK for .NET