Class PluginBase
The base class to use for plugins using the Hsl.Xrm.Sdk.Plugin framework.
Implements
Microsoft.Xrm.Sdk.IPlugin
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Hsl.Xrm.Sdk.Plugin
Assembly: Hsl.Xrm.Sdk.Plugin.dll
Syntax
[Obsolete("Use PluginBase2 instead see https://docs.hitachisolutions.com/hslxrmsdk/articles/upgrading-pluginbase-to-pluginbase2.html")]
public abstract class PluginBase : IPlugin
Constructors
PluginBase()
Declaration
public PluginBase()
PluginBase(String, String)
Declaration
public PluginBase(string unsecureConfig, string secureConfig)
Parameters
Type | Name | Description |
---|---|---|
System.String | unsecureConfig | |
System.String | secureConfig |
Methods
CreateContext()
Declaration
protected virtual IPluginEventContext CreateContext()
Returns
Type | Description |
---|---|
IPluginEventContext |
Execute(IServiceProvider)
Declaration
public void Execute(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | serviceProvider |
ExecuteAction(IPluginEventContext)
Declaration
public abstract void ExecuteAction(IPluginEventContext pluginEventContext)
Parameters
Type | Name | Description |
---|---|---|
IPluginEventContext | pluginEventContext |
LoadConfiguration(PluginConfigurationManager)
Declaration
protected virtual void LoadConfiguration(PluginConfigurationManager configManager)
Parameters
Type | Name | Description |
---|---|---|
PluginConfigurationManager | configManager |
Implements
Microsoft.Xrm.Sdk.IPlugin