public IAsyncResult BeginNewMediaObject(string blogid, string username, string password, MediaObject mediaObject, AsyncCallback callback, object asyncState) { return BeginInvoke("NewMediaObject", new object[] { blogid, username, password, mediaObject }, this, callback, asyncState); }
public Task<MediaObjectInfo> NewMediaObjectAsync(string blogid, string username, string password, MediaObject mediaObject) { return Task<MediaObjectInfo>.Factory.FromAsync(BeginNewMediaObject(blogid, username, password, mediaObject, null, null), EndNewMediaObject); }
public MediaObjectInfo NewMediaObject(string blogid, string username, string password, MediaObject mediaObject) { return (MediaObjectInfo)Invoke("NewMediaObject", new object[] { blogid, username, password, mediaObject }); }
public Task <MediaObjectInfo> NewMediaObjectAsync(string blogid, string username, string password, MediaObject mediaObject) { return(Task <MediaObjectInfo> .Factory.FromAsync(BeginNewMediaObject(blogid, username, password, mediaObject, null, null), EndNewMediaObject)); }
public IAsyncResult BeginNewMediaObject(string blogid, string username, string password, MediaObject mediaObject, AsyncCallback callback, object asyncState) { return(BeginInvoke("NewMediaObject", new object[] { blogid, username, password, mediaObject }, this, callback, asyncState)); }
public MediaObjectInfo NewMediaObject(string blogid, string username, string password, MediaObject mediaObject) { return((MediaObjectInfo)Invoke("NewMediaObject", new object[] { blogid, username, password, mediaObject })); }