DataServiceContext.WritingEntity Event
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.
Occurs after an entity has been fully serialized into XML in a request message.
public:
event EventHandler<System::Data::Services::Client::ReadingWritingEntityEventArgs ^> ^ WritingEntity;
public event EventHandler<System.Data.Services.Client.ReadingWritingEntityEventArgs> WritingEntity;
member this.WritingEntity : EventHandler<System.Data.Services.Client.ReadingWritingEntityEventArgs>
Public Custom Event WritingEntity As EventHandler(Of ReadingWritingEntityEventArgs)
Public Event WritingEntity As EventHandler(Of ReadingWritingEntityEventArgs)
Event Type
Remarks
Handling the WritingEntity event enables you to change the XML in a request before it is sent.
The WritingEntity event may occur on a different thread when you call BeginSaveChanges(SaveChangesOptions, AsyncCallback, Object) without including Batch in the supplied SaveChangesOptions value.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา