LifecycleEventService.AddEvent<TDelegate>(String, TDelegate) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
generic <typename TDelegate>
where TDelegate : Delegate virtual void AddEvent(System::String ^ eventName, TDelegate action);
public void AddEvent<TDelegate> (string eventName, TDelegate action) where TDelegate : Delegate;
abstract member AddEvent : string * 'Delegate -> unit (requires 'Delegate :> Delegate)
override this.AddEvent : string * 'Delegate -> unit (requires 'Delegate :> Delegate)
Public Sub AddEvent(Of TDelegate As Delegate) (eventName As String, action As TDelegate)
Type Parameters
- TDelegate
Parameters
- eventName
- String
- action
- TDelegate
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.