コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 public MediaObjectInfo NewMediaObject(string blogid, string username, string password, MediaObject mediaObject)
 {
     return (MediaObjectInfo)Invoke("NewMediaObject", new object[] { blogid, username, password, mediaObject });
 }
コード例 #4
0
 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));
 }
コード例 #5
0
 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));
 }
コード例 #6
0
 public MediaObjectInfo NewMediaObject(string blogid, string username, string password, MediaObject mediaObject)
 {
     return((MediaObjectInfo)Invoke("NewMediaObject", new object[] { blogid, username, password, mediaObject }));
 }