StreamingContext 構造体
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
シリアル化された指定のストリームのソースと宛先を記述し、呼び出し元が定義した追加のコンテキストを提供します。
public value class StreamingContext
public struct StreamingContext
public readonly struct StreamingContext
[System.Serializable]
public struct StreamingContext
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct StreamingContext
type StreamingContext = struct
[<System.Serializable>]
type StreamingContext = struct
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type StreamingContext = struct
Public Structure StreamingContext
- 継承
- 属性
フォーマッタが使用するビットのソースまたは宛先を示します。 サロゲートを持つクラス、または を実装 ISerializable するクラスは、ストリーミング コンテキストに格納されている情報に基づいてフィールドと値をシリアル化または無視できます。 たとえば、 プロパティが にSystem.Runtime.Serialization.StreamingContextStates.CrossProcess
設定されている場合State、ウィンドウ ハンドルは引き続き有効です。
Streaming |
古い.
コンテキストの状態を指定して、StreamingContext クラスの新しいインスタンスを初期化します。 |
Streaming |
古い.
コンテキストの状態と追加情報を指定して、StreamingContext クラスの新しいインスタンスを初期化します。 |
Equals(Object) |
2 つの StreamingContext インスタンスの値が同一かどうかを判断します。 |
Get |
このオブジェクトのハッシュ コードを返します。 |
製品 | バージョン |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
UWP | 10.0 |
.NET に関するフィードバック
.NET はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。