BadRpcHeaderException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| BadRpcHeaderException(String) |
初始化 BadRpcHeaderException 類別的新執行個體。 |
| BadRpcHeaderException(SerializationInfo, StreamingContext) |
初始化 BadRpcHeaderException 類別的新執行個體。 |
| BadRpcHeaderException(String, Exception) |
初始化 BadRpcHeaderException 類別的新執行個體。 |
BadRpcHeaderException(String)
初始化 BadRpcHeaderException 類別的新執行個體。
public BadRpcHeaderException(string message);
public BadRpcHeaderException(string? message);
new StreamJsonRpc.BadRpcHeaderException : string -> StreamJsonRpc.BadRpcHeaderException
Public Sub New (message As String)
參數
- message
- String
訊息。
適用於
BadRpcHeaderException(SerializationInfo, StreamingContext)
初始化 BadRpcHeaderException 類別的新執行個體。
protected BadRpcHeaderException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new StreamJsonRpc.BadRpcHeaderException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> StreamJsonRpc.BadRpcHeaderException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
參數
- info
- SerializationInfo
序號資訊。
- context
- StreamingContext
串流背景。
適用於
BadRpcHeaderException(String, Exception)
初始化 BadRpcHeaderException 類別的新執行個體。
public BadRpcHeaderException(string message, Exception innerException);
public BadRpcHeaderException(string? message, Exception? innerException);
new StreamJsonRpc.BadRpcHeaderException : string * Exception -> StreamJsonRpc.BadRpcHeaderException
Public Sub New (message As String, innerException As Exception)
參數
- message
- String
訊息。
- innerException
- Exception
內心的例外。