Class PluginInitializationResult
Provides result information from plug-in initialization.
Inheritance
System.Object
PluginInitializationResult
Namespace: Sdl.Core.PluginFramework
Assembly: Sdl.Core.PluginFramework.dll
Syntax
public class PluginInitializationResult : Object
Constructors
PluginInitializationResult(IPlugin, Exception)
Constructor.
Declaration
public PluginInitializationResult(IPlugin plugin, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
IPlugin | plugin | The plug-in for which initialization was attempted. |
System.Exception | exception | The exception that occurred, if initialization failed. |
Properties
Exception
Gets the exception that occurred if initialization failed. Returns null if initialization was sucessful.
Declaration
public Exception Exception { get; }
Property Value
Type | Description |
---|---|
System.Exception |
Plugin
Gets the plug-in.
Declaration
public IPlugin Plugin { get; }
Property Value
Type | Description |
---|---|
IPlugin |