InvalidRequestException Constructor
Initializes a new instance of the InvalidRequestException class.
Namespace: Microsoft.Workflow.Client
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Overload List
Name | Description | |
---|---|---|
InvalidRequestException() | Initializes a new instance of the InvalidRequestException class. |
|
InvalidRequestException(SerializationInfo, StreamingContext) | Initializes a new instance of the InvalidRequestException class with specified information and context. |
|
InvalidRequestException(String) | Initializes a new instance of the InvalidRequestException class with specified error message. |
|
InvalidRequestException(String, Exception) | Initializes a new instance of the InvalidRequestException class with specified error message and inner exception. |
See Also
InvalidRequestException Class
Microsoft.Workflow.Client Namespace
Return to top
InvalidRequestException Constructor ()
Initializes a new instance of the InvalidRequestException class.
Syntax
public InvalidRequestException()
public:
InvalidRequestException()
new : unit -> InvalidRequestException
Public Sub New
Return to top
InvalidRequestException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidRequestException class with specified information and context.
Syntax
protected InvalidRequestException(
SerializationInfo info,
StreamingContext context
)
protected:
InvalidRequestException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> InvalidRequestException
Protected Sub New (
info As SerializationInfo,
context As StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoThe information regarding the exception.
context
Type: System.Runtime.Serialization.StreamingContextThe context.
Return to top
InvalidRequestException Constructor (String)
Initializes a new instance of the InvalidRequestException class with specified error message.
Syntax
public InvalidRequestException(
string message
)
public:
InvalidRequestException(
String^ message
)
new :
message:string -> InvalidRequestException
Public Sub New (
message As String
)
Parameters
message
Type: System.StringThe error message.
Return to top
InvalidRequestException Constructor (String, Exception)
Initializes a new instance of the InvalidRequestException class with specified error message and inner exception.
Syntax
public InvalidRequestException(
string message,
Exception inner
)
public:
InvalidRequestException(
String^ message,
Exception^ inner
)
new :
message:string *
inner:Exception -> InvalidRequestException
Public Sub New (
message As String,
inner As Exception
)
Parameters
message
Type: System.StringThe error message.
inner
Type: System.ExceptionThe inner exception.
Return to top