DataServiceContext.EndSaveChanges 方法

调用后可完成 BeginSaveChanges 操作。

命名空间:  System.Data.Services.Client
程序集:  Microsoft.Data.Services.Client(在 Microsoft.Data.Services.Client.dll 中)

语法

声明
Public Function EndSaveChanges ( _
    asyncResult As IAsyncResult _
) As DataServiceResponse
用法
Dim instance As DataServiceContext
Dim asyncResult As IAsyncResult
Dim returnValue As DataServiceResponse

returnValue = instance.EndSaveChanges(asyncResult)
public DataServiceResponse EndSaveChanges(
    IAsyncResult asyncResult
)
public:
DataServiceResponse^ EndSaveChanges(
    IAsyncResult^ asyncResult
)
member EndSaveChanges : 
        asyncResult:IAsyncResult -> DataServiceResponse 
public function EndSaveChanges(
    asyncResult : IAsyncResult
) : DataServiceResponse

参数

返回值

类型:System.Data.Services.Client.DataServiceResponse
DataServiceResponse 对象,指示批处理操作结果。

注释

应检查 BatchStatusCode,了解批处理操作结果。 可在 DataServiceResponse 枚举器返回的操作对象上检索单个操作结果。

请参阅

参考

DataServiceContext 类

System.Data.Services.Client 命名空间