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!

IComponentChangeService ComponentRemoving Event

[To be supplied.]

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

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

Parameters

sender
The source of the event.
e
A ComponentEventArgs that contains the event data. The following ComponentEventArgs properties provide information specific to this event.
Property Description
Component
Gets or sets the component associated with the event.

Remarks

This event occurs during unload and when the user deletes a component. You can veto the remove by throwing an exception here

See Also

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