Compartir a través de


DynamicsBaseHostedControl.FireEvent Method (String)

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 returnValue As Boolean

returnValue = instance.FireEvent(eventName)

Syntax

'Declaration
Public Function FireEvent ( _
    eventName As String _
) As Boolean
public bool FireEvent (
    string eventName
)
public:
bool FireEvent (
    String^ eventName
)
public boolean FireEvent (
    String eventName
)
public function FireEvent (
    eventName : String
) : boolean

Parameters

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

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.