public IAsyncResult BeginCreateStorageAccount(string subscriptionId, CreateStorageServiceInput createStorageServiceInput, AsyncCallback callback, object state) { SimpleServiceManagementAsyncResult result = new SimpleServiceManagementAsyncResult(); result.Values["subscriptionId"] = subscriptionId; result.Values["createStorageServiceInput"] = createStorageServiceInput; result.Values["callback"] = callback; result.Values["state"] = state; return result; }
public static void CreateStorageAccount(this IServiceManagement proxy, string subscriptionId, CreateStorageServiceInput createStorageServiceInput) { proxy.EndCreateStorageAccount(proxy.BeginCreateStorageAccount(subscriptionId, createStorageServiceInput, null, null)); }