Share via


DataDrivenAdapterBase.OperationHandler Method (OperationType, String, String)

Calls to the DataDrivenAdapterBase API to manipulate the 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 returnValue As String

returnValue = Me.OperationHandler(op, controlName, controlValue)

Syntax

'Declaration
Protected Overridable Function OperationHandler ( _
    op As OperationType, _
    controlName As String, _
    controlValue As String _
) As String
protected virtual string OperationHandler (
    OperationType op,
    string controlName,
    string controlValue
)
protected:
virtual String^ OperationHandler (
    OperationType op, 
    String^ controlName, 
    String^ controlValue
)
protected String OperationHandler (
    OperationType op, 
    String controlName, 
    String controlValue
)
protected function OperationHandler (
    op : OperationType, 
    controlName : String, 
    controlValue : 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.

Return Value

Returns non-null for Find and Get OperationTypes, null for Set and Execute OperationTypes

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.