LocalRpcException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| LocalRpcException() |
初始化 LocalRpcException 類別的新執行個體。 |
| LocalRpcException(String) |
初始化 LocalRpcException 類別的新執行個體。 |
| LocalRpcException(String, Exception) |
初始化 LocalRpcException 類別的新執行個體。 |
LocalRpcException()
LocalRpcException(String)
初始化 LocalRpcException 類別的新執行個體。
public LocalRpcException(string message);
public LocalRpcException(string? message);
new StreamJsonRpc.LocalRpcException : string -> StreamJsonRpc.LocalRpcException
Public Sub New (message As String)
參數
- message
- String
說明例外狀況原因的錯誤訊息。
適用於
LocalRpcException(String, Exception)
初始化 LocalRpcException 類別的新執行個體。
public LocalRpcException(string message, Exception inner);
public LocalRpcException(string? message, Exception? inner);
new StreamJsonRpc.LocalRpcException : string * Exception -> StreamJsonRpc.LocalRpcException
Public Sub New (message As String, inner As Exception)
參數
- message
- String
說明例外狀況原因的錯誤訊息。
- inner
- Exception
該例外是目前例外的原因,或若未指定內部例外,則為空參考(Visual Basic 中為 Nothing Reference)。