次の方法で共有


HostedControl.DoAction Method

Definition

Overloads

DoAction(RequestActionEventArgs)

Method to override in the implementation to handle the action.

DoAction(Action, String)
Obsolete.

Method to override in the implemention to handle the action.

DoAction(Int32, String)
Obsolete.

Called to perform the action configured in the database. Do not override this method! To handle DoAction in your implementation override DoAction(RequestActionEventArgs) instead.

DoAction(String, String)
Obsolete.

Called to perform the action configured in the database.

DoAction(RequestActionEventArgs)

Method to override in the implementation to handle the action.

protected:
 virtual void DoAction(Microsoft::Uii::Csr::RequestActionEventArgs ^ args);
protected virtual void DoAction (Microsoft.Uii.Csr.RequestActionEventArgs args);
abstract member DoAction : Microsoft.Uii.Csr.RequestActionEventArgs -> unit
override this.DoAction : Microsoft.Uii.Csr.RequestActionEventArgs -> unit
Protected Overridable Sub DoAction (args As RequestActionEventArgs)

Parameters

args
RequestActionEventArgs

The event arguments for request action event

Applies to

DoAction(Action, String)

Caution

This method has been deprecated, use DoAction(RequestActionEventArgs args) instead!

Method to override in the implemention to handle the action.

public:
 virtual void DoAction(Microsoft::Uii::Csr::Action ^ action, System::String ^ data);
[System.Obsolete("This method has been deprecated, use DoAction(RequestActionEventArgs args) instead!")]
public virtual void DoAction (Microsoft.Uii.Csr.Action action, string data);
[<System.Obsolete("This method has been deprecated, use DoAction(RequestActionEventArgs args) instead!")>]
abstract member DoAction : Microsoft.Uii.Csr.Action * string -> unit
override this.DoAction : Microsoft.Uii.Csr.Action * string -> unit
Public Overridable Sub DoAction (action As Action, data As String)

Parameters

action
Action

Action

data
String

Data

Attributes

Remarks

This really ought to be an abstract method, but then the UI designer won't work for the inherited classes.

Applies to

DoAction(Int32, String)

Caution

Use DoAction(RequestActionEventArgs args) override

Called to perform the action configured in the database. Do not override this method! To handle DoAction in your implementation override DoAction(RequestActionEventArgs) instead.

public:
 virtual void DoAction(int actionID, System::String ^ data);
[System.Obsolete("Use DoAction(RequestActionEventArgs args) override")]
public virtual void DoAction (int actionID, string data);
[<System.Obsolete("Use DoAction(RequestActionEventArgs args) override")>]
abstract member DoAction : int * string -> unit
override this.DoAction : int * string -> unit
Public Overridable Sub DoAction (actionID As Integer, data As String)

Parameters

actionID
Int32

Action ID

data
String

Action Data

Implements

Attributes

Remarks

This method is for internal UII use only, don't override this method. To handle DoAction override DoAction(RequestActionEventArgs) instead.

Applies to

DoAction(String, String)

Caution

This method has been deprecated, use DoAction(RequestActionEventArgs args) instead!

Called to perform the action configured in the database.

public:
 virtual void DoAction(System::String ^ actionName, System::String ^ data);
[System.Obsolete("This method has been deprecated, use DoAction(RequestActionEventArgs args) instead!")]
public virtual void DoAction (string actionName, string data);
[<System.Obsolete("This method has been deprecated, use DoAction(RequestActionEventArgs args) instead!")>]
abstract member DoAction : string * string -> unit
override this.DoAction : string * string -> unit
Public Overridable Sub DoAction (actionName As String, data As String)

Parameters

actionName
String

Action Name

data
String

Data

Implements

Attributes

Applies to