SafeSerializationEventArgs SafeSerializationEventArgs SafeSerializationEventArgs SafeSerializationEventArgs Class


提供 SerializeObjectState 事件的資料。Provides data for the SerializeObjectState event.

public ref class SafeSerializationEventArgs sealed : EventArgs
public sealed class SafeSerializationEventArgs : EventArgs
type SafeSerializationEventArgs = class
    inherit EventArgs
Public NotInheritable Class SafeSerializationEventArgs
Inherits EventArgs


序列化包含在安全性透明程式碼中的自訂資料的例外狀況時,就會發生的事件。The event occurs when serializing an exception that contains custom data in security-transparent code.

如需詳細資訊和範例,請參閱ISafeSerializationData類別。For more information and an example, see the ISafeSerializationData class.


StreamingContext StreamingContext StreamingContext StreamingContext

取得或設定描述序列化資料流之來源和目的端的物件。Gets or sets an object that describes the source and destination of a serialized stream.


AddSerializedState(ISafeSerializationData) AddSerializedState(ISafeSerializationData) AddSerializedState(ISafeSerializationData) AddSerializedState(ISafeSerializationData)

儲存例外狀況的狀態。Stores the state of the exception.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)