Επεξεργασία

Κοινή χρήση μέσω


ActivationArguments Constructors

Definition

Initializes a new instance of the ActivationArguments class.

Overloads

ActivationArguments(ActivationContext)

Initializes a new instance of the ActivationArguments class with the specified activation context.

ActivationArguments(ApplicationIdentity)

Initializes a new instance of the ActivationArguments class with the specified application identity.

ActivationArguments(ActivationContext, String[])

Initializes a new instance of the ActivationArguments class with the specified activation context and activation data.

ActivationArguments(ApplicationIdentity, String[])

Initializes a new instance of the ActivationArguments class with the specified application identity and activation data.

ActivationArguments(ActivationContext)

Initializes a new instance of the ActivationArguments class with the specified activation context.

public:
 ActivationArguments(ActivationContext ^ activationData);
public ActivationArguments (ActivationContext activationData);
new System.Runtime.Hosting.ActivationArguments : ActivationContext -> System.Runtime.Hosting.ActivationArguments
Public Sub New (activationData As ActivationContext)

Parameters

activationData
ActivationContext

An object that identifies the manifest-based activation application.

Exceptions

activationData is null.

Remarks

The ActivationContext object represented by the activationData parameter contains the ApplicationIdentity and context information for manifest-based activation.

Applies to

ActivationArguments(ApplicationIdentity)

Initializes a new instance of the ActivationArguments class with the specified application identity.

public:
 ActivationArguments(ApplicationIdentity ^ applicationIdentity);
public ActivationArguments (ApplicationIdentity applicationIdentity);
new System.Runtime.Hosting.ActivationArguments : ApplicationIdentity -> System.Runtime.Hosting.ActivationArguments
Public Sub New (applicationIdentity As ApplicationIdentity)

Parameters

applicationIdentity
ApplicationIdentity

An object that identifies the manifest-based activation application.

Exceptions

applicationIdentity is null.

Remarks

The application identity uniquely identifies a manifest-based application to be activated in a new domain.

Applies to

ActivationArguments(ActivationContext, String[])

Initializes a new instance of the ActivationArguments class with the specified activation context and activation data.

public:
 ActivationArguments(ActivationContext ^ activationContext, cli::array <System::String ^> ^ activationData);
public ActivationArguments (ActivationContext activationContext, string[] activationData);
new System.Runtime.Hosting.ActivationArguments : ActivationContext * string[] -> System.Runtime.Hosting.ActivationArguments
Public Sub New (activationContext As ActivationContext, activationData As String())

Parameters

activationContext
ActivationContext

An object that identifies the manifest-based activation application.

activationData
String[]

An array of strings containing host-provided activation data.

Exceptions

activationContext is null.

Remarks

The ActivationContext object represented by the activationContext parameter contains the ApplicationIdentity and context information for manifest-based activation. The activation data consists of information such as the query string portion of a URL.

Applies to

ActivationArguments(ApplicationIdentity, String[])

Initializes a new instance of the ActivationArguments class with the specified application identity and activation data.

public:
 ActivationArguments(ApplicationIdentity ^ applicationIdentity, cli::array <System::String ^> ^ activationData);
public ActivationArguments (ApplicationIdentity applicationIdentity, string[] activationData);
new System.Runtime.Hosting.ActivationArguments : ApplicationIdentity * string[] -> System.Runtime.Hosting.ActivationArguments
Public Sub New (applicationIdentity As ApplicationIdentity, activationData As String())

Parameters

applicationIdentity
ApplicationIdentity

An object that identifies the manifest-based activation application.

activationData
String[]

An array of strings containing host-provided activation data.

Exceptions

applicationIdentity is null.

Remarks

The application identity uniquely identifies a manifest-based application to be activated in a new domain. The activation data consists of information such as the query string portion of a URL.

Applies to