Compartir a través de


DynamicsBaseHostedControl.FireEvent Method

Definition

Overloads

FireEvent(String)

Fires and event to the event configuration for the control. It is executed on the same session that the control lives in.

FireEvent(String, Dictionary<String,String>)

Fires and event to the event configuration for the control. It is executed on the same session that the control lives in.

FireEvent(String)

Fires and event to the event configuration for the control. It is executed on the same session that the control lives in.

public:
 bool FireEvent(System::String ^ eventName);
public bool FireEvent (string eventName);
member this.FireEvent : string -> bool
Public Function FireEvent (eventName As String) As Boolean

Parameters

eventName
String

The name of the event as defined in the event configuration in CRM

Returns

Success or failure (true or false)

Applies to

FireEvent(String, Dictionary<String,String>)

Fires and event to the event configuration for the control. It is executed on the same session that the control lives in.

public:
 bool FireEvent(System::String ^ eventName, System::Collections::Generic::Dictionary<System::String ^, System::String ^> ^ parameters);
public bool FireEvent (string eventName, System.Collections.Generic.Dictionary<string,string> parameters);
member this.FireEvent : string * System.Collections.Generic.Dictionary<string, string> -> bool
Public Function FireEvent (eventName As String, parameters As Dictionary(Of String, String)) As Boolean

Parameters

eventName
String

The name of the event as defined in the event configuration in CRM

parameters
Dictionary<String,String>

A series of parameters to supply with the event

Returns

Success or failure (true or false)

Applies to