ODataWriter.WriteStartAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WriteStartAsync(ODataResourceSet) |
Asynchronously start writing a resource set. |
WriteStartAsync(ODataDeletedResource) |
Asynchronously writing a delta deleted resource. |
WriteStartAsync(ODataDeltaResourceSet) |
Asynchronously start writing a resource set. |
WriteStartAsync(ODataNestedResourceInfo) |
Asynchronously start writing a nested resource info. |
WriteStartAsync(ODataPropertyInfo) |
Asynchronously write a primitive property within a resource. |
WriteStartAsync(ODataResource) |
Asynchronously start writing a resource. |
WriteStartAsync(ODataResourceSet)
Asynchronously start writing a resource set.
public virtual System.Threading.Tasks.Task WriteStartAsync (Microsoft.OData.ODataResourceSet resourceSet);
abstract member WriteStartAsync : Microsoft.OData.ODataResourceSet -> System.Threading.Tasks.Task
override this.WriteStartAsync : Microsoft.OData.ODataResourceSet -> System.Threading.Tasks.Task
Public Overridable Function WriteStartAsync (resourceSet As ODataResourceSet) As Task
Parameters
- resourceSet
- ODataResourceSet
The resource set or collection to write.
Returns
A task instance that represents the asynchronous write operation.
Applies to
WriteStartAsync(ODataDeletedResource)
Asynchronously writing a delta deleted resource.
public virtual System.Threading.Tasks.Task WriteStartAsync (Microsoft.OData.ODataDeletedResource deletedResource);
abstract member WriteStartAsync : Microsoft.OData.ODataDeletedResource -> System.Threading.Tasks.Task
override this.WriteStartAsync : Microsoft.OData.ODataDeletedResource -> System.Threading.Tasks.Task
Public Overridable Function WriteStartAsync (deletedResource As ODataDeletedResource) As Task
Parameters
- deletedResource
- ODataDeletedResource
The deleted resource to write.
Returns
A task instance that represents the asynchronous write operation.
Applies to
WriteStartAsync(ODataDeltaResourceSet)
Asynchronously start writing a resource set.
public virtual System.Threading.Tasks.Task WriteStartAsync (Microsoft.OData.ODataDeltaResourceSet deltaResourceSet);
abstract member WriteStartAsync : Microsoft.OData.ODataDeltaResourceSet -> System.Threading.Tasks.Task
override this.WriteStartAsync : Microsoft.OData.ODataDeltaResourceSet -> System.Threading.Tasks.Task
Public Overridable Function WriteStartAsync (deltaResourceSet As ODataDeltaResourceSet) As Task
Parameters
- deltaResourceSet
- ODataDeltaResourceSet
The resource set or collection to write.
Returns
A task instance that represents the asynchronous write operation.
Applies to
WriteStartAsync(ODataNestedResourceInfo)
Asynchronously start writing a nested resource info.
public virtual System.Threading.Tasks.Task WriteStartAsync (Microsoft.OData.ODataNestedResourceInfo nestedResourceInfo);
abstract member WriteStartAsync : Microsoft.OData.ODataNestedResourceInfo -> System.Threading.Tasks.Task
override this.WriteStartAsync : Microsoft.OData.ODataNestedResourceInfo -> System.Threading.Tasks.Task
Public Overridable Function WriteStartAsync (nestedResourceInfo As ODataNestedResourceInfo) As Task
Parameters
- nestedResourceInfo
- ODataNestedResourceInfo
The nested resource info to writer.
Returns
A task instance that represents the asynchronous write operation.
Applies to
WriteStartAsync(ODataPropertyInfo)
Asynchronously write a primitive property within a resource.
public virtual System.Threading.Tasks.Task WriteStartAsync (Microsoft.OData.ODataPropertyInfo primitiveProperty);
abstract member WriteStartAsync : Microsoft.OData.ODataPropertyInfo -> System.Threading.Tasks.Task
override this.WriteStartAsync : Microsoft.OData.ODataPropertyInfo -> System.Threading.Tasks.Task
Public Overridable Function WriteStartAsync (primitiveProperty As ODataPropertyInfo) As Task
Parameters
- primitiveProperty
- ODataPropertyInfo
The primitive property to write.
Returns
A task instance that represents the asynchronous write operation.
Applies to
WriteStartAsync(ODataResource)
Asynchronously start writing a resource.
public virtual System.Threading.Tasks.Task WriteStartAsync (Microsoft.OData.ODataResource resource);
abstract member WriteStartAsync : Microsoft.OData.ODataResource -> System.Threading.Tasks.Task
override this.WriteStartAsync : Microsoft.OData.ODataResource -> System.Threading.Tasks.Task
Public Overridable Function WriteStartAsync (resource As ODataResource) As Task
Parameters
- resource
- ODataResource
The resource or item to write.
Returns
A task instance that represents the asynchronous write operation.