DynamicsBaseHostedControl.FireEvent Method (String, Dictionary)
Fires and event to the event configuration for the control. It is executed on the same session that the control lives in.
Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)
Usage
'Usage
Dim instance As DynamicsBaseHostedControl
Dim eventName As String
Dim parameters As Dictionary(Of String, String)
Dim returnValue As Boolean
returnValue = instance.FireEvent(eventName, parameters)
Syntax
'Declaration
Public Function FireEvent ( _
eventName As String, _
parameters As Dictionary(Of String, String) _
) As Boolean
public bool FireEvent (
string eventName,
Dictionary<string,string> parameters
)
public:
bool FireEvent (
String^ eventName,
Dictionary<String^, String^>^ parameters
)
public boolean FireEvent (
String eventName,
Dictionary<String,String> parameters
)
public function FireEvent (
eventName : String,
parameters : Dictionary<String,String>
) : boolean
Parameters
- eventName
The name of the event as defined in the event configuration in CRM
- parameters
A series of parameters to supply with the event
Return Value
Success or failure (true or false)
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
DynamicsBaseHostedControl Class
DynamicsBaseHostedControl Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.