/// <remarks/>
 public System.IAsyncResult BeginAssignLead1(AssignLeadSetupProtocol setupParam, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("AssignLead1", new object[] {
                 setupParam}, callback, asyncState);
 }
        internal Protocol.AssignLeadSetupProtocol ToProtocol()
        {
            Protocol.AssignLeadSetupProtocol protocol = new Protocol.AssignLeadSetupProtocol();

            protocol.LeadObjid = this.LeadObjid;
            protocol.NewOwner = this.NewOwner;
            protocol.AssignDate = this.AssignDate;
            protocol.GenerateTimeBombs = this.GenerateTimeBombs;
            protocol.ConstructorCue = this.ConstructorCue;
            protocol.DirtyFieldFlags = this.DirtyFieldFlags;

            return protocol;
        }
 public ToolkitResultProtocol AssignLead(AssignLeadSetupProtocol setupParam)
 {
     object[] results = this.Invoke("AssignLead1", new object[] {
                 setupParam});
     return ((ToolkitResultProtocol)(results[0]));
 }