TableBatchOperation.Insert Method (ITableEntity, Boolean)

Windows Runtime Azure Storage Client Library

Adds a TableOperation object that inserts the specified entity into the table as part of the batch operation.

Namespace: Microsoft.WindowsAzure.Storage.Table
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim instance As TableBatchOperation
Dim entity As ITableEntity
Dim echoContent As Boolean

instance.Insert(entity, echoContent)

Syntax

Visual Basic
Public Sub Insert ( _
	entity As ITableEntity, _
	echoContent As Boolean _
)
C#
public void Insert (
	ITableEntity entity,
	bool echoContent
)
C++
public:
void Insert (
	ITableEntity^ entity, 
	bool echoContent
)
J#
public void Insert (
	ITableEntity entity, 
	boolean echoContent
)
JScript
public function Insert (
	entity : ITableEntity, 
	echoContent : boolean
)

Parameters

entity

The entity to be inserted into the table.

echoContent

true if the message payload should be returned in the response to the insert operation;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

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also