RemoteRpcException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
RemoteRpcException(String)
初始化 RemoteRpcException 类的新实例。
protected RemoteRpcException (string message);
protected RemoteRpcException (string? message);
new StreamJsonRpc.RemoteRpcException : string -> StreamJsonRpc.RemoteRpcException
Protected Sub New (message As String)
参数
- message
- String
描述错误的消息。
适用于
RemoteRpcException(SerializationInfo, StreamingContext)
初始化 RemoteRpcException 类的新实例。
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)
参数
- info
- SerializationInfo
序列化信息。
- context
- StreamingContext
流式处理上下文。
适用于
RemoteRpcException(String, Exception)
初始化 RemoteRpcException 类的新实例。
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)
参数
- message
- String
解释异常原因的错误消息。
- innerException
- Exception
导致当前异常的异常;如果未指定任何内部异常,则为空引用(在 Visual Basic 中为 Nothing)。