public WebAttachment AddAttachment(WebAttachment attachment) { object[] results = this.Invoke("AddAttachment", new object[] { attachment }); return((WebAttachment)(results[0])); }
/// <remarks/> public void AddAttachmentAsync(WebAttachment attachment, object userState) { if ((this.AddAttachmentOperationCompleted == null)) { this.AddAttachmentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddAttachmentOperationCompleted); } this.InvokeAsync("AddAttachment", new object[] { attachment }, this.AddAttachmentOperationCompleted, userState); }
/// <remarks/> public void AddAttachmentAsync(WebAttachment attachment) { this.AddAttachmentAsync(attachment, null); }