Share via


DataDrivenAdapterBase.RaiseEvent(Object, String, String, String) Method

Definition

Raises events where necessary. There is no synchronization context marshalling. Events go out on the thread that raised them. It is the listeners responsibility to perform an application-specific thread marshalling as required.

protected:
 void RaiseEvent(System::Object ^ sender, System::String ^ eventName, System::String ^ controlName, System::String ^ controlValue);
protected void RaiseEvent (object sender, string eventName, string controlName, string controlValue);
member this.RaiseEvent : obj * string * string * string -> unit
Protected Sub RaiseEvent (sender As Object, eventName As String, controlName As String, controlValue As String)

Parameters

sender
Object

Specifies the sender. When null, defaults to "this."

eventName
String

Specifies the name of the event.

controlName
String

Specifies the name of the control. Empty when not applicable to any named control.

controlValue
String

Specifies the value of the control. Populated with extra data associated with the event when necessary.

Applies to