StreamingContext.State プロパティ
送信データの送信元または送信先を取得します。
Public ReadOnly Property State As StreamingContextStates
[C#]
public StreamingContextStates State {get;}
[C++]
public: __property StreamingContextStates get_State();
[JScript]
public function get State() : StreamingContextStates;
プロパティ値
シリアル化中の送信データの送信先。逆シリアル化中のデータの送信元。
解説
シリアル化中に、現在のプロパティで送信データの送信先を指定します。たとえば、Cross AppDomain Remoting からデータをシリアル化すると、 StreamingContextStates が CrossProcess になります。逆シリアル化中には、状態が逆シリアル化ストリームの転送元を示します。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
StreamingContext 構造体 | StreamingContext メンバ | System.Runtime.Serialization 名前空間