Поделиться через


DataServiceContext.WritingEntity Event

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Occurs after an entity has been fully serialized into XML (Atom), and allows the developer to change the XML before it is sent.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

Syntax

'Declaration
Public Event WritingEntity As EventHandler(Of ReadingWritingEntityEventArgs)
public event EventHandler<ReadingWritingEntityEventArgs> WritingEntity

Remarks

The WritingEntity event may be raised from a different thread when you call BeginSaveChanges and do not specify a value of Batch for the SaveChangesOptions.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.