コード例 #1
0
 /// <remarks/>
 public void CreateAttachmentAsync(Attachment attachment) {
     this.CreateAttachmentAsync(attachment, null);
 }
コード例 #2
0
 /// <remarks/>
 public void CreateAttachmentAsync(Attachment attachment, object userState) {
     if ((this.CreateAttachmentOperationCompleted == null)) {
         this.CreateAttachmentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateAttachmentOperationCompleted);
     }
     this.InvokeAsync("CreateAttachment", new object[] {
                 attachment}, this.CreateAttachmentOperationCompleted, userState);
 }
コード例 #3
0
 public long CreateAttachment(Attachment attachment) {
     object[] results = this.Invoke("CreateAttachment", new object[] {
                 attachment});
     return ((long)(results[0]));
 }