/// <summary> /// Retrieving status goes out to the server and gets the /// latest status structure of the entire envelope. You can use this /// to figure out if the envelope has been signed or delivered as well /// as other things. /// </summary> /// <returns></returns> public DocuSignWeb.EnvelopeStatus RetrieveFullStatus() { Debug.Assert(String.IsNullOrEmpty(_envelopeId) == false); using (DocuSignWeb.APIServiceWse apiService = CreateApiProxy(_accountCredentials)) { return(apiService.RequestStatus(_envelopeId)); } }
/// <summary> /// Retrieving status goes out to the server and gets the /// latest status of the entire envelope. You can use this /// to figure out if the envelope has been signed or delivered. /// </summary> /// <returns></returns> public DocuSignWeb.EnvelopeStatusCode RetrieveStatus() { Debug.Assert(String.IsNullOrEmpty(_envelopeId) == false); using (DocuSignWeb.APIServiceWse apiService = CreateApiProxy(_accountCredentials)) { DocuSignWeb.EnvelopeStatus status = apiService.RequestStatus(_envelopeId); Debug.Assert(!(status == null)); return(status.Status); } }