ODataMessageWriter.CreateODataParameterWriterAsync Method
Asynchronously creates an ODataParameterWriter to write a parameter payload.
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Function CreateODataParameterWriterAsync ( _
functionImport As IEdmFunctionImport _
) As Task(Of ODataParameterWriter)
'Usage
Dim instance As ODataMessageWriter
Dim functionImport As IEdmFunctionImport
Dim returnValue As Task(Of ODataParameterWriter)
returnValue = instance.CreateODataParameterWriterAsync(functionImport)
public Task<ODataParameterWriter> CreateODataParameterWriterAsync(
IEdmFunctionImport functionImport
)
public:
Task<ODataParameterWriter^>^ CreateODataParameterWriterAsync(
IEdmFunctionImport^ functionImport
)
member CreateODataParameterWriterAsync :
functionImport:IEdmFunctionImport -> Task<ODataParameterWriter>
public function CreateODataParameterWriterAsync(
functionImport : IEdmFunctionImport
) : Task<ODataParameterWriter>
Parameters
- functionImport
Type: Microsoft.Data.Edm.IEdmFunctionImport
The function import whose parameters will be written.
Return Value
Type: System.Threading.Tasks.Task<ODataParameterWriter>
The created parameter writer.