locked
UnSecure Configuration RRS feed

  • Question

  • Hi

    I am trying to read unsecure configuration provided at Plug-in registration time using below code. I am getting "null" everytime for 'unSecure' in constructor.  Is it something I am doing wrong?

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Runtime.Serialization;
    using Microsoft.Crm.Sdk;
    using Microsoft.Xrm.Sdk;


    namespace ClassLibrary1
    {
        public class Class1 :IPlugin
        {
            private string _sUnsecure = string.Empty;
            public Class1(string unSecure)
            {
                if(!string.IsNullOrEmpty(unSecure))
                {
                    
                    }
            }

            public void Execute(IServiceProvider serviceProvider)
            {
            }
        }
    }


    • Edited by myCRMGuy Friday, November 1, 2013 4:32 AM
    Friday, November 1, 2013 4:31 AM

All replies