Creates the table if it does not already exist.
Namespace: Microsoft.WindowsAzure.Storage.Table
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As CloudTable
Dim requestOptions As TableRequestOptions
Dim operationContext As OperationContext
Dim returnValue As IAsyncOperation(Of Boolean)
returnValue = instance.CreateIfNotExistsAsync(requestOptions, operationContext) |
Syntax
Visual Basic |
---|
Public Function CreateIfNotExistsAsync ( _
requestOptions As TableRequestOptions, _
operationContext As OperationContext _
) As IAsyncOperation(Of Boolean) |
C# |
---|
public IAsyncOperation<bool> CreateIfNotExistsAsync (
TableRequestOptions requestOptions,
OperationContext operationContext
) |
C++ |
---|
public:
IAsyncOperation<bool>^ CreateIfNotExistsAsync (
TableRequestOptions^ requestOptions,
OperationContext^ operationContext
) |
J# |
---|
public IAsyncOperation<boolean> CreateIfNotExistsAsync (
TableRequestOptions requestOptions,
OperationContext operationContext
) |
JScript |
---|
public function CreateIfNotExistsAsync (
requestOptions : TableRequestOptions,
operationContext : OperationContext
) : IAsyncOperation<boolean> |
Parameters
- requestOptions
A TableRequestOptions object that specifies execution options, such as retry policy and timeout settings, for the operation.
- operationContext
An OperationContext object for tracking the current operation.
Return Value
true
if table was created; otherwise,
false
.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also