RemoteSerializationException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
RemoteSerializationException(SerializationInfo, StreamingContext)
初始化 RemoteSerializationException 類別的新執行個體。
protected RemoteSerializationException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new StreamJsonRpc.RemoteSerializationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> StreamJsonRpc.RemoteSerializationException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)
參數
- serializationInfo
- SerializationInfo
序列化資訊。
- streamingContext
- StreamingContext
串流內容。
適用於
RemoteSerializationException(String, Object, Object)
初始化 RemoteSerializationException 類別的新執行個體。
public RemoteSerializationException (string? message, object? errorData, object? deserializedErrorData);
new StreamJsonRpc.RemoteSerializationException : string * obj * obj -> StreamJsonRpc.RemoteSerializationException
Public Sub New (message As String, errorData As Object, deserializedErrorData As Object)
參數
- message
- String
描述錯誤的訊息。
- errorData
- Object
- deserializedErrorData
- Object