Compartilhar via


HostingForm.ProcessCmdKey Method (Message, Keys)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Stops the user from closing the form with Alt+F4

Namespace:   Microsoft.Uii.Csr
Assembly:  Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Syntax

[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
protected override bool ProcessCmdKey(
    ref Message msg,
    Keys keyData
)
<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.UnmanagedCode)>
Protected Overrides Function ProcessCmdKey (
    ByRef msg As Message,
    keyData As Keys
) As Boolean

Parameters

Return Value

Type: System.Boolean

Processed?

See Also

HostingForm Class
Microsoft.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright