IDesktopUserActions.UserDefinedCommand Method
Allows the developer to pass commands to the desktop from a hosted control outside of the action system.
Namespace: Microsoft.Uii.Desktop.Core
Assembly: Microsoft.Uii.Desktop.Core (in Microsoft.Uii.Desktop.Core.dll)
Usage
'Usage
Dim instance As IDesktopUserActions
Dim command As String
Dim request As String
Dim returnValue As String
returnValue = instance.UserDefinedCommand(command, request)
Syntax
'Declaration
Function UserDefinedCommand ( _
command As String, _
request As String _
) As String
string UserDefinedCommand (
string command,
string request
)
String^ UserDefinedCommand (
String^ command,
String^ request
)
String UserDefinedCommand (
String command,
String request
)
function UserDefinedCommand (
command : String,
request : String
) : String
Parameters
- command
Specifies the name of the command.
- request
Specifies the command data.
Return Value
User Defiend
Remarks
This is provided as an extendibility point for the IadUserActions Interface. Developers can implement their own commands within the desktop by overriding the UserDefinedCommand method and return string data.
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
IDesktopUserActions Interface
IDesktopUserActions Members
Microsoft.Uii.Desktop.Core Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.