Пример #1
0
 /// <remarks/>
 public void AddAttachmentAsync(string userId, MessageEntity entity, AttachmentEntity[] attachlist, object userState) {
     if ((this.AddAttachmentOperationCompleted == null)) {
         this.AddAttachmentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddAttachmentOperationCompleted);
     }
     this.InvokeAsync("AddAttachment", new object[] {
                 userId,
                 entity,
                 attachlist}, this.AddAttachmentOperationCompleted, userState);
 }
Пример #2
0
 /// <remarks/>
 public void AddAttachmentAsync(string userId, MessageEntity entity, AttachmentEntity[] attachlist) {
     this.AddAttachmentAsync(userId, entity, attachlist, null);
 }
Пример #3
0
 public bool AddAttachment(string userId, MessageEntity entity, AttachmentEntity[] attachlist, out System.DateTime date) {
     object[] results = this.Invoke("AddAttachment", new object[] {
                 userId,
                 entity,
                 attachlist});
     date = ((System.DateTime)(results[1]));
     return ((bool)(results[0]));
 }
Пример #4
0
 /// <remarks/>
 public void InsertMessageAsync(MessageEntity entity, object userState) {
     if ((this.InsertMessageOperationCompleted == null)) {
         this.InsertMessageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInsertMessageOperationCompleted);
     }
     this.InvokeAsync("InsertMessage", new object[] {
                 entity}, this.InsertMessageOperationCompleted, userState);
 }
Пример #5
0
 /// <remarks/>
 public void InsertMessageAsync(MessageEntity entity) {
     this.InsertMessageAsync(entity, null);
 }
Пример #6
0
 public bool InsertMessage(MessageEntity entity) {
     object[] results = this.Invoke("InsertMessage", new object[] {
                 entity});
     return ((bool)(results[0]));
 }