protected override IAsyncResult BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, object state) { LoadAuthentication(context); if (EnvelopeId.Get(context) != null) { mEnvelopeId = EnvelopeId.Get(context); } else { throw new System.ArgumentException("Envelope ID is required!"); } if (DocumentId.Get(context) != null) { mDocumentId = DocumentId.Get(context); } else { throw new System.ArgumentException("Document ID is required!"); } ReadTabsAction = new Action(_GetTabs); return(ReadTabsAction.BeginInvoke(callback, state)); }