RasComponent.RaiseEvent(TEventArgs) Method

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
Raises the event specified by method with the event data provided.

Namespace: DotRas.Design
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)

Syntax

C#
protected void RaiseEvent<TEventArgs>(
	EventHandler<TEventArgs> method,
	TEventArgs e
)
where TEventArgs : EventArgs
Visual Basic
Protected Sub RaiseEvent(Of TEventArgs As EventArgs) ( 
	method As EventHandler(Of TEventArgs),
	e As TEventArgs
)
Visual C++
protected:
generic<typename TEventArgs>
where TEventArgs : EventArgs
void RaiseEvent(
	EventHandler<TEventArgs>^ method, 
	TEventArgs e
)
F#
member RaiseEvent : 
        method : EventHandler<'TEventArgs> * 
        e : 'TEventArgs -> unit  when 'TEventArgs : EventArgs

Parameters

method
Type: System..::..EventHandler<(Of <(<'TEventArgs>)>)>
The event delegate being raised.
e
Type: TEventArgs
An TEventArgs containing event data.

Type Parameters

TEventArgs
The EventArgs used by the event delegate.

See Also