共用方式為


ODataCollectionWriter.WriteStartAsync 方法

以非同步方式開始寫入集合。

命名空間:  Microsoft.Data.OData
組件:  Microsoft.Data.OData (在 Microsoft.Data.OData.dll 中)

語法

'宣告
Public MustOverride Function WriteStartAsync ( _
    collectionStart As ODataCollectionStart _
) As Task
'用途
Dim instance As ODataCollectionWriter
Dim collectionStart As ODataCollectionStart
Dim returnValue As Task

returnValue = instance.WriteStartAsync(collectionStart)
public abstract Task WriteStartAsync(
    ODataCollectionStart collectionStart
)
public:
virtual Task^ WriteStartAsync(
    ODataCollectionStart^ collectionStart
) abstract
abstract WriteStartAsync : 
        collectionStart:ODataCollectionStart -> Task 
public abstract function WriteStartAsync(
    collectionStart : ODataCollectionStart
) : Task

參數

傳回值

型別:System.Threading.Tasks.Task
表示非同步寫入作業的工作執行個體。

請參閱

參考

ODataCollectionWriter 類別

Microsoft.Data.OData 命名空間