NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IDesignerHost BatchOperation Event

Occurs at the starting and ending points of a batch operation.

The following declaration shows the syntax for a method that handles the BatchOperation event.

[Visual Basic]
Private Sub IDesignerHostName_BatchOperation( _
   ByVal sender As Object, _
   ByVal e As BatchOperationEventArgs _
)
[C#]
private void IDesignerHostName_BatchOperation(
   object sender,
   BatchOperationEventArgs e
);
[C++]
private: void IDesignerHostName_BatchOperation(
   Object* sender,
   BatchOperationEventArgs* e
);
[JScript]
private IDesignerHostName_BatchOperation(
   sender : Object,
   e : BatchOperationEventArgs
);

Parameters

sender
The source of the event.
e
A BatchOperationEventArgs that contains the event data.

Remarks

A batch operation event occurs upon first entry of a batch operation, and again upon last exit of the operation; nested calls do not generate events. Also, if the designer host is currently within a batch operation and an object adds an event handler, the handler will be invoked immediately.

See Also

IDesignerHost Interface | IDesignerHost MembersTopic | System.ComponentModel.Design Namespace