/// <remarks/> public void CreateAttachmentAsync(Attachment attachment) { this.CreateAttachmentAsync(attachment, null); }
/// <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); }
public long CreateAttachment(Attachment attachment) { object[] results = this.Invoke("CreateAttachment", new object[] { attachment}); return ((long)(results[0])); }