DataDrivenAdapterBase.OperationHandler Method (OperationType, String, String, String)
Calls to the DataDrivenAdapterBaseAPI to manipulate the user interface (UI) are dispatched to this handler. Override to implement custom behavior.
Namespace: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter
Assembly: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter (in Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.dll)
Usage
'Usage
Dim op As OperationType
Dim controlName As String
Dim controlValue As String
Dim Data As String
Dim returnValue As String
returnValue = Me.OperationHandler(op, controlName, controlValue, Data)
Syntax
'Declaration
Protected MustOverride Function OperationHandler ( _
op As OperationType, _
controlName As String, _
controlValue As String, _
Data As String _
) As String
protected abstract string OperationHandler (
OperationType op,
string controlName,
string controlValue,
string Data
)
protected:
virtual String^ OperationHandler (
OperationType op,
String^ controlName,
String^ controlValue,
String^ Data
) abstract
protected abstract String OperationHandler (
OperationType op,
String controlName,
String controlValue,
String Data
)
protected abstract function OperationHandler (
op : OperationType,
controlName : String,
controlValue : String,
Data : String
) : String
Parameters
- op
Specifies the type of the operation to be performed on the control.
- controlName
Specifies the name of the control.
- controlValue
Specifies the value to be assigned to the control.
- Data
Specifies the additional data to be passed for customizing the operation.
Return Value
Returns non-null for Find and Get operation types, null for Set and Execute operation types.
Exceptions
Exception type | Condition |
---|---|
DataDrivenAdapterException |
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.