ReverseEngineer.CancelationOpportunityReached Event
Gives the caller the opportunity to cancel the Populate operation.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Event CancelationOpportunityReached As EventHandler(Of CancelEventArgs)
'Usage
Dim instance As ReverseEngineer
Dim handler As EventHandler(Of CancelEventArgs)
AddHandler instance.CancelationOpportunityReached, handler
public event EventHandler<CancelEventArgs> CancelationOpportunityReached
public:
event EventHandler<CancelEventArgs^>^ CancelationOpportunityReached {
void add (EventHandler<CancelEventArgs^>^ value);
void remove (EventHandler<CancelEventArgs^>^ value);
}
JScript does not support events.
member CancelationOpportunityReached : IEvent<EventHandler<CancelEventArgs>,
CancelEventArgs>
Remarks
This event is raised only while Populate is executing, on the same thread on which Populate was called.
If CancelEventArgs.Cancel is set to True, Populate will throw OperationCanceledException rather than returning.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.