AddInProcess Class
Provides an external process for running add-ins out-of-process from the host application.
Assembly: System.AddIn (in System.AddIn.dll)
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | IsCurrentProcess | Gets a value that indicates whether the current AddInProcess object represents the host application process. |
![]() | KeepAlive | Gets or sets a value that indicates whether to keep the external process alive. |
![]() | Platform | Gets the bits-per-word of the process in which the out-of-process add-in is run. |
![]() | ProcessId | Gets the process ID of the external process. |
![]() | StartupTimeout | Gets or sets the number of seconds to allow for the process to start. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | Shutdown() | Forcibly shuts down the external process. |
![]() | Start() | Starts the external process. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | ShuttingDown | Occurs when the process represented by the AddInProcess object is about to be shut down. |
To activate an add-in in an external process, pass an AddInProcess object to the appropriate AddInToken::Activate<T>(AddInProcess^, PermissionSet^) method overload.
The executable that runs the add-in is obtained from one of two files installed with the .NET Framework under the Windows directory. By default, the executable that matches the bits-per-word of the host application is used. If the host is a 64-bit process, AddInProcess.exe is run; otherwise, AddInProcess32.exe is run. To specify the way the executable is selected, use the AddInProcess(Platform) constructor to create the AddInProcess object.
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


