ServiceReadOnlyException Constructor
Initializes a new instance of the ServiceReadOnlyException class.
Namespace: Microsoft.Workflow.Client
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Overload List
Name | Description | |
---|---|---|
ServiceReadOnlyException() | Initializes a new instance of the ServiceReadOnlyException class with default values. |
|
ServiceReadOnlyException(SerializationInfo, StreamingContext) | Initializes a new instance of the ServiceReadOnlyException class with serialized data. |
|
ServiceReadOnlyException(String) | Initializes a new instance of the ServiceReadOnlyException class with error message. |
|
ServiceReadOnlyException(String, Exception) | Initializes a new instance of the ServiceReadOnlyException class with error message and inner exception. |
See Also
ServiceReadOnlyException Class
Microsoft.Workflow.Client Namespace
Return to top
ServiceReadOnlyException Constructor ()
Initializes a new instance of the ServiceReadOnlyException class with default values.
Syntax
public ServiceReadOnlyException()
public:
ServiceReadOnlyException()
new : unit -> ServiceReadOnlyException
Public Sub New
Return to top
ServiceReadOnlyException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the ServiceReadOnlyException class with serialized data.
Syntax
protected ServiceReadOnlyException(
SerializationInfo info,
StreamingContext context
)
protected:
ServiceReadOnlyException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> ServiceReadOnlyException
Protected Sub New (
info As SerializationInfo,
context As StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoThe object that contains the serialized information about the exception.
context
Type: System.Runtime.Serialization.StreamingContextThe contextual information about the source or destination.
Return to top
ServiceReadOnlyException Constructor (String)
Initializes a new instance of the ServiceReadOnlyException class with error message.
Syntax
public ServiceReadOnlyException(
string message
)
public:
ServiceReadOnlyException(
String^ message
)
new :
message:string -> ServiceReadOnlyException
Public Sub New (
message As String
)
Parameters
message
Type: System.StringThe error message that describes the exception.
Return to top
ServiceReadOnlyException Constructor (String, Exception)
Initializes a new instance of the ServiceReadOnlyException class with error message and inner exception.
Syntax
public ServiceReadOnlyException(
string message,
Exception inner
)
public:
ServiceReadOnlyException(
String^ message,
Exception^ inner
)
new :
message:string *
inner:Exception -> ServiceReadOnlyException
Public Sub New (
message As String,
inner As Exception
)
Parameters
message
Type: System.StringThe error message that describes the exception.
inner
Type: System.ExceptionThe inner exception that is the cause of the current exception.
Return to top