CookieException.ISerializable.GetObjectData(SerializationInfo, StreamingContext) CookieException.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Method

定義

以序列化 SerializationInfo 所需的資料填入 CookieException 執行個體。Populates a SerializationInfo instance with the data needed to serialize the CookieException.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext) = System::Runtime::Serialization::ISerializable::GetObjectData;
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);

參數

serializationInfo
SerializationInfo SerializationInfo

要使用的 SerializationInfoThe SerializationInfo to be used.

streamingContext
StreamingContext StreamingContext

要使用的 StreamingContextThe StreamingContext to be used.

實作

適用於

另請參閱