CloudTableClient.PayloadFormat Property
From Windows Runtime Azure Storage Client Library
Gets and sets the table payload format for requests against any table accessed with this CloudTableClient object.
Namespace: Microsoft.WindowsAzure.Storage.Table
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
| Visual Basic |
|---|
Dim instance As CloudTableClient Dim value As Nullable(Of TablePayloadFormat) value = instance.PayloadFormat instance.PayloadFormat = value |
Syntax
| Visual Basic |
|---|
<ObsoleteAttribute("Use DefaultRequestOptions.PayloadFormat.")> _
Public Property PayloadFormat As Nullable(Of TablePayloadFormat) |
| C# |
|---|
[ObsoleteAttribute("Use DefaultRequestOptions.PayloadFormat.")]
public Nullable<TablePayloadFormat> PayloadFormat { get; set; } |
| C++ |
|---|
[ObsoleteAttribute(L"Use DefaultRequestOptions.PayloadFormat.")] public: property Nullable<TablePayloadFormat> PayloadFormat { Nullable<TablePayloadFormat> get (); void set (Nullable<TablePayloadFormat> value); } |
| J# |
|---|
/** @property */ public Nullable<TablePayloadFormat> get_PayloadFormat () /** @property */ public void set_PayloadFormat (Nullable<TablePayloadFormat> value) |
| JScript |
|---|
public function get PayloadFormat () : Nullable<TablePayloadFormat> public function set PayloadFormat (value : Nullable<TablePayloadFormat>) |
Property Value
A TablePayloadFormat enumeration value.
Remarks
By default, this property is set to Json for .NET and Windows Phone. For Windows Runtime, it is set to AtomPub.
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.