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