संपादित करें

इसके माध्यम से साझा किया गया


AddInProcess Constructors

Definition

Initializes a new instance of the AddInProcess class.

Overloads

AddInProcess()

Initializes a new instance of the AddInProcess class.

AddInProcess(Platform)

Initializes a new instance of the AddInProcess class, specifying the bits-per-word of the process in which the add-in runs.

AddInProcess()

Initializes a new instance of the AddInProcess class.

public:
 AddInProcess();
[System.Security.SecurityCritical]
public AddInProcess ();
Public Sub New ()
Attributes

Remarks

This constructor has the same effect as using the AddInProcess(Platform) constructor with the Platform.Host flag, to specify that the process that runs the add-in will have the same bits-per-word as the host process.

Applies to

AddInProcess(Platform)

Initializes a new instance of the AddInProcess class, specifying the bits-per-word of the process in which the add-in runs.

public:
 AddInProcess(System::AddIn::Hosting::Platform platform);
[System.Security.SecurityCritical]
public AddInProcess (System.AddIn.Hosting.Platform platform);
[<System.Security.SecurityCritical>]
new System.AddIn.Hosting.AddInProcess : System.AddIn.Hosting.Platform -> System.AddIn.Hosting.AddInProcess
Public Sub New (platform As Platform)

Parameters

platform
Platform

A value that specifies the bits-per-word of the process that runs the add-in.

Attributes

Exceptions

The registry entry for the path to the executable (AddInProcess.exe or AddInProcess32.exe) is missing.

-or-

The executable is missing.

Remarks

The following table shows how platform affects the bits-per-word of the process on different operating systems:

32-bit operating system 64-bit operating system
Host 32-bit Same as the host process
AnyCPU 32-bit 64-bit
X86 32-bit 32-bit
X64 Exception is thrown 64-bit

Applies to