ODataMessageWriter.CreateODataUriParameterResourceWriterAsync 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.
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.