Ejemplo n.º 1
0
 public WebAttachment AddAttachment(WebAttachment attachment)
 {
     object[] results = this.Invoke("AddAttachment", new object[] {
         attachment
     });
     return((WebAttachment)(results[0]));
 }
Ejemplo n.º 2
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);
 }
Ejemplo n.º 3
0
 /// <remarks/>
 public void AddAttachmentAsync(WebAttachment attachment)
 {
     this.AddAttachmentAsync(attachment, null);
 }