/// <remarks/> public void DocumentReferenceAddAsync(AddReferenceDocArguments arg, string documentId, object userState) { if ((this.DocumentReferenceAddOperationCompleted == null)) { this.DocumentReferenceAddOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDocumentReferenceAddOperationCompleted); } this.InvokeAsync("DocumentReferenceAdd", new object[] { arg, documentId}, this.DocumentReferenceAddOperationCompleted, userState); }
public ExecResult DocumentReferenceAdd(AddReferenceDocArguments arg, string documentId) { object[] results = this.Invoke("DocumentReferenceAdd", new object[] { arg, documentId}); return ((ExecResult)(results[0])); }
/// <remarks/> public void DocumentReferenceAddAsync(AddReferenceDocArguments arg, string documentId) { this.DocumentReferenceAddAsync(arg, documentId, null); }
/// <remarks/> public System.IAsyncResult BeginDocumentReferenceAdd(AddReferenceDocArguments arg, string documentId, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("DocumentReferenceAdd", new object[] { arg, documentId}, callback, asyncState); }