Compartir a través de


JavaDataDrivenAdapter.OperationHandler Method

Calls to the JavaDataDrivenAdapter API to manipulate the UI are dispatched to this handler.

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 Overrides Function OperationHandler ( _
    op As OperationType, _
    controlName As String, _
    controlValue As String, _
    data As String _
) As String
protected override string OperationHandler (
    OperationType op,
    string controlName,
    string controlValue,
    string data
)
protected:
virtual String^ OperationHandler (
    OperationType op, 
    String^ controlName, 
    String^ controlValue, 
    String^ data
) override
protected String OperationHandler (
    OperationType op, 
    String controlName, 
    String controlValue, 
    String data
)
protected override 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 data associated with the operation.

Return Value

Non-null for Find and Get OperationTypes, null for Set and Execute OperationTypes

Exceptions

Exception type Condition
DataDrivenAdapterException

Reference to the inner exception to determine cause

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

JavaDataDrivenAdapter Class
JavaDataDrivenAdapter Members
Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.