Reputation: 6791
Can anyone explain the difference between the CreateIfNotExists and CreateIfNotExistsAsync methods of the CloudBlobContainer in Windows Azure? The MSDN documentation just says that the CreateIfNotExistsAsync method
Returns a task that creates the container if it does not already exist.
And for CreateIfnotExists
Creates the container if it does not already exist.
So I don't really understand the difference between them.
Upvotes: 0
Views: 2170
Reputation: 136336
Essentially both of the operations are doing the same thing i.e. creating a blob container if it does not exist
. The difference is that one is doing asynchronously (CreateIfNotExistsAsync
) and the other synchronously (CreateIfNotExists
).
Upvotes: 3