RemoteRpcException 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
RemoteRpcException(String) |
Initializes a new instance of the RemoteRpcException class. |
RemoteRpcException(SerializationInfo, StreamingContext) |
Initializes a new instance of the RemoteRpcException class. |
RemoteRpcException(String, Exception) |
Initializes a new instance of the RemoteRpcException class. |
RemoteRpcException(String)
Initializes a new instance of the RemoteRpcException class.
protected RemoteRpcException (string message);
protected RemoteRpcException (string? message);
new StreamJsonRpc.RemoteRpcException : string -> StreamJsonRpc.RemoteRpcException
Protected Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
RemoteRpcException(SerializationInfo, StreamingContext)
Initializes a new instance of the RemoteRpcException class.
protected RemoteRpcException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new StreamJsonRpc.RemoteRpcException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> StreamJsonRpc.RemoteRpcException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
Serialization info.
- context
- StreamingContext
Streaming context.
Applies to
RemoteRpcException(String, Exception)
Initializes a new instance of the RemoteRpcException class.
protected RemoteRpcException (string message, Exception innerException);
protected RemoteRpcException (string? message, Exception? innerException);
new StreamJsonRpc.RemoteRpcException : string * Exception -> StreamJsonRpc.RemoteRpcException
Protected 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 a null reference (Nothing in Visual Basic) if no inner exception is specified.