DataServiceContext.ReadingEntity 事件
當實體資料已完全讀入實體物件之後發生。
命名空間: System.Data.Services.Client
組件: Microsoft.Data.Services.Client (在 Microsoft.Data.Services.Client.dll 中)
語法
'宣告
Public Event ReadingEntity As EventHandler(Of ReadingWritingEntityEventArgs)
'用途
Dim instance As DataServiceContext
Dim handler As EventHandler(Of ReadingWritingEntityEventArgs)
AddHandler instance.ReadingEntity, handler
public event EventHandler<ReadingWritingEntityEventArgs> ReadingEntity
public:
event EventHandler<ReadingWritingEntityEventArgs^>^ ReadingEntity {
void add (EventHandler<ReadingWritingEntityEventArgs^>^ value);
void remove (EventHandler<ReadingWritingEntityEventArgs^>^ value);
}
member ReadingEntity : IEvent<EventHandler<ReadingWritingEntityEventArgs>,
ReadingWritingEntityEventArgs>
JScript 支援使用事件,但不支援新的宣告。
備註
當實體資料連同所有巢狀實體已完全讀入目標物件之後,發生 ReadingEntity 事件。 如需詳細資訊,請參閱物件具體化 (WCF Data Services)。