HostedApplicationAdapter.DoAction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DoAction(Action, String) |
Obsolete.
Called by UII whenever an action is about to be performed on the application. |
DoAction(Action, RequestActionEventArgs) |
Called by UII whenever an action is about to be performed on the application. |
DoAction(Action, String)
Caution
This method has been deprecated, use DoAction(RequestActionEventArgs args) instead!
Called by UII whenever an action is about to be performed on the application.
public:
virtual bool DoAction(Microsoft::Uii::Csr::Action ^ action, System::String ^ % data);
[System.Obsolete("This method has been deprecated, use DoAction(RequestActionEventArgs args) instead!")]
public virtual bool DoAction (Microsoft.Uii.Csr.Action action, ref string data);
[<System.Obsolete("This method has been deprecated, use DoAction(RequestActionEventArgs args) instead!")>]
abstract member DoAction : Microsoft.Uii.Csr.Action * string -> bool
override this.DoAction : Microsoft.Uii.Csr.Action * string -> bool
Public Overridable Function DoAction (action As Action, ByRef data As String) As Boolean
Parameters
- action
- Action
Specifies the action that is performed on the application.
- data
- String
Specifies the action data.
Returns
true to accept the change; otherwise, false
.
- Attributes
Applies to
DoAction(Action, RequestActionEventArgs)
Called by UII whenever an action is about to be performed on the application.
public:
virtual bool DoAction(Microsoft::Uii::Csr::Action ^ action, Microsoft::Uii::Csr::RequestActionEventArgs ^ args);
public virtual bool DoAction (Microsoft.Uii.Csr.Action action, Microsoft.Uii.Csr.RequestActionEventArgs args);
abstract member DoAction : Microsoft.Uii.Csr.Action * Microsoft.Uii.Csr.RequestActionEventArgs -> bool
override this.DoAction : Microsoft.Uii.Csr.Action * Microsoft.Uii.Csr.RequestActionEventArgs -> bool
Public Overridable Function DoAction (action As Action, args As RequestActionEventArgs) As Boolean
Parameters
- action
- Action
Represents the action class that contains the information about what action to start.
Represents the event arguments for request action event.
Returns
true to accept the change; otherwise, false
.