DataDrivenAdapterBase.RaiseEvent Method
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.
Namespace: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter
Assembly: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter (in Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.dll)
Usage
'Usage
Dim sender As Object
Dim eventName As String
Dim controlName As String
Dim controlValue As String
Me.RaiseEvent(sender, eventName, controlName, controlValue)
Syntax
'Declaration
Protected Sub RaiseEvent ( _
sender As Object, _
eventName As String, _
controlName As String, _
controlValue As String _
)
protected void RaiseEvent (
Object sender,
string eventName,
string controlName,
string controlValue
)
protected:
void RaiseEvent (
Object^ sender,
String^ eventName,
String^ controlName,
String^ controlValue
)
protected void RaiseEvent (
Object sender,
String eventName,
String controlName,
String controlValue
)
protected function RaiseEvent (
sender : Object,
eventName : String,
controlName : String,
controlValue : String
)
Parameters
- sender
Specifies the sender. When null, defaults to "this."
- eventName
Specifies the name of the event.
- controlName
Specifies the name of the control. Empty when not applicable to any named control.
- controlValue
Specifies the value of the control. Populated with extra data associated with the event when necessary.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
DataDrivenAdapterBase Class
DataDrivenAdapterBase Members
Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.