namespace XXXXX.Plugin
{
using System;
using System.ServiceModel;
using System.Web;
/// <summary>
/// PostOrganisationCreate Plugin.
/// </summary>
public class PostOrganisationCreate : Plugin
{
/// <summary>
/// Initializes a new instance of the <see cref="PostOrganisationCreate"/> class.
/// </summary>
+++++
This is debugged, no error under profiler - I can go up to the end of this function, getting value with throw any error
++++
public PostOrganisationCreate(string unsecure, string secure)
: base(typeof(PostOrganisationCreate))
{
base.RegisteredEvents.Add(new Tuple<int, string, string, Action<LocalPluginContext>>(40, "Create", "account", new Action<LocalPluginContext>(ExecutePostOrganisationCreate)));
// Read in the relevant secure config parameters
if (!String.IsNullOrWhiteSpace(secure))
{
///////////////
}
else
{
throw new InvalidPluginExecutionException(OperationStatus.Failed, "Secure strings are required but not provided.");
}
}
+++++
Profiler return error here - debug breakpoint disappears, getting error with invalid security from initial message
Next function doesn't picked up in debug
+++++
/// <summary>
/// Executes the plug-in.
/// </summary>
protected void ExecutePostOrganisationCreate(LocalPluginContext localContext)
{
if (localContext == null)
{
throw new ArgumentNullException("localContext");
}
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx