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!

BatchOperationEventArgs Class

Provides data about the System.ComponentModel.Design.IDesignerHost.BatchOperation event.

Object
   EventArgs
      BatchOperationEventArgs

[Visual Basic]
Public Class BatchOperationEventArgs
   Inherits EventArgs
[C#]
public class BatchOperationEventArgs : EventArgs
[C++]
public __gc class BatchOperationEventArgs : public EventArgs
[JScript]
public class BatchOperationEventArgs extends EventArgs

Remarks

Batch operations can refresh multiple components at once. Batch operation methods provide a convenient way to prevent performance and flicker problems by deferring expensive processing on multiple components until after the operation has completed.

A System.ComponentModel.Design.BatchOperationEvent.BatchOperationEvent event will occur at the start of a batch operation, and again be raised upon last exit of the operation; nested calls do not generate these 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.

Requirements

Namespace: System.ComponentModel.Design

Assembly: System.dll

See Also

BatchOperationEventArgs Members | System.ComponentModel.Design Namespace | BatchOperationEventHandler