IRemotingFormatter 介面

定義

提供所有格式子 (Formatter) 的遠端程序呼叫 (Remote Procedure Call,RPC) 介面。

public interface class IRemotingFormatter : System::Runtime::Serialization::IFormatter
public interface IRemotingFormatter : System.Runtime.Serialization.IFormatter
[System.Runtime.InteropServices.ComVisible(true)]
public interface IRemotingFormatter : System.Runtime.Serialization.IFormatter
type IRemotingFormatter = interface
    interface IFormatter
[<System.Runtime.InteropServices.ComVisible(true)>]
type IRemotingFormatter = interface
    interface IFormatter
Public Interface IRemotingFormatter
Implements IFormatter
衍生
屬性
實作

備註

介面 IRemotingFormatter 可讓實作格式器傳送和接收遠端程序呼叫, (RPC) 。 如需詳細資訊,請參閱BinaryFormatter。 這個介面衍生自 IFormatter

屬性

Binder

取得或設定在還原序列化 (Deserialization) 期間執行型別查閱的 SerializationBinder

(繼承來源 IFormatter)
Context

取得或設定用於序列化和還原序列化的 StreamingContext

(繼承來源 IFormatter)
SurrogateSelector

取得或設定目前格式子所使用的 SurrogateSelector

(繼承來源 IFormatter)

方法

Deserialize(Stream)
已淘汰.

還原序列化在提供的資料流上的資料,並重新組合物件 Graph。

(繼承來源 IFormatter)
Deserialize(Stream, HeaderHandler)

開始遠端程序呼叫 (RPC) 的還原序列化 (Deserialization) 程序。

Serialize(Stream, Object)
已淘汰.

使用所提供資料流的指定根序列化物件或物件 Graph。

(繼承來源 IFormatter)
Serialize(Stream, Object, Header[])

啟動遠端程序呼叫 (RPC) 的序列化 (Serialization) 程序。

適用於