StreamingContext.State プロパティ

定義

注意事項

Formatter-based serialization is obsolete and should not be used.

転送されるデータのソースまたは宛先を取得します。

public:
 property System::Runtime::Serialization::StreamingContextStates State { System::Runtime::Serialization::StreamingContextStates get(); };
[System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public System.Runtime.Serialization.StreamingContextStates State { get; }
public System.Runtime.Serialization.StreamingContextStates State { get; }
[<System.Obsolete("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.State : System.Runtime.Serialization.StreamingContextStates
member this.State : System.Runtime.Serialization.StreamingContextStates
Public ReadOnly Property State As StreamingContextStates

プロパティ値

シリアル化中に、転送されるデータの宛先。 逆シリアル化中、データのソース。

属性

注釈

シリアル化中、現在のプロパティは、転送されるデータの宛先を指定します。 たとえば、AppDomain 間リモート処理からデータをシリアル化する場合、 StreamingContextStatesCrossProcess。 逆シリアル化中、状態は逆シリアル化されたストリームのソースを示します。

適用対象