AppDomainSetup.ActivationArguments 屬性

定義

取得或設定與應用程式定義域的啟動有關的資料。Gets or sets data about the activation of an application domain.

public:
 property System::Runtime::Hosting::ActivationArguments ^ ActivationArguments { System::Runtime::Hosting::ActivationArguments ^ get(); void set(System::Runtime::Hosting::ActivationArguments ^ value); };
public System.Runtime.Hosting.ActivationArguments ActivationArguments { get; set; }
member this.ActivationArguments : System.Runtime.Hosting.ActivationArguments with get, set
Public Property ActivationArguments As ActivationArguments

屬性值

ActivationArguments

物件,包含與應用程式定義域之啟動有關的資料。An object that contains data about the activation of an application domain.

例外狀況

屬性設定為 ActivationArguments 物件,其應用程式識別不符合 ApplicationTrust 屬性傳回的 ApplicationTrust 物件應用程式識別。The property is set to an ActivationArguments object whose application identity does not match the application identity of the ApplicationTrust object returned by the ApplicationTrust property. 如果 ApplicationTrust 屬性為 null,則不擲回任何例外狀況。No exception is thrown if the ApplicationTrust property is null.

備註

如果這個屬性設定為,則不會擲回例外狀況 nullNo exception is thrown if this property is set to null.

物件所提供的資訊 ActivationArguments 支援以資訊清單為基礎的啟用。The information provided by the ActivationArguments object supports manifest-based activation.

適用於