BinaryFormatter.Context 속성

정의

이 포맷터에 대한 StreamingContext를 가져오거나 설정합니다.

public:
 property System::Runtime::Serialization::StreamingContext Context { System::Runtime::Serialization::StreamingContext get(); void set(System::Runtime::Serialization::StreamingContext value); };
public System.Runtime.Serialization.StreamingContext Context { get; set; }
member this.Context : System.Runtime.Serialization.StreamingContext with get, set
Public Property Context As StreamingContext

속성 값

이 포맷터와 함께 사용할 스트리밍 컨텍스트입니다.

구현

설명

경고

BinaryFormatter는 안전하지 않으며 안전하게 할 수 없습니다. 자세한 내용은 BinaryFormatter 보안 가이드를 참조하세요.

StreamingContext 원본 및 대상 지정 된 serialize 된 스트림의 serialization 컨텍스트 및 추가 호출자 정의 컨텍스트를 유지 하는 방법을 설명 하는 열거형을 제공 합니다.

적용 대상

추가 정보