Share via


ODataMessageWriter.CreateODataUriParameterResourceWriterAsync Method

Definition

Asynchronously creates an ODataWriter to write Uri operation parameter.

public System.Threading.Tasks.Task<Microsoft.OData.ODataWriter> CreateODataUriParameterResourceWriterAsync (Microsoft.OData.Edm.IEdmNavigationSource navigationSource, Microsoft.OData.Edm.IEdmStructuredType resourceType);
member this.CreateODataUriParameterResourceWriterAsync : Microsoft.OData.Edm.IEdmNavigationSource * Microsoft.OData.Edm.IEdmStructuredType -> System.Threading.Tasks.Task<Microsoft.OData.ODataWriter>
Public Function CreateODataUriParameterResourceWriterAsync (navigationSource As IEdmNavigationSource, resourceType As IEdmStructuredType) As Task(Of ODataWriter)

Parameters

navigationSource
IEdmNavigationSource

The navigation source we are going to write resource for.

resourceType
IEdmStructuredType

The structured type for the resources in the resource set to be written.

Returns

A running task for the created uri parameter writer.

Applies to