BinaryFormatter.Context Propriedade

Definição

Obtém ou define o StreamingContext para esse formatador.Gets or sets the StreamingContext for this formatter.

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

Valor da propriedade

StreamingContext

O contexto de streaming a ser usado com este formatador.The streaming context to use with this formatter.

Implementações

Comentários

O StreamingContext fornece uma enumeração que descreve a origem e o destino de um determinado fluxo serializado, bem como uma maneira de serialização para reter esse contexto e um contexto adicional definido pelo chamador.The StreamingContext provides an enumeration that describes the source and the destination for a given serialized stream, as well as a way for serialization to retain that context and an additional caller-defined context.

Aplica-se a

Confira também