JAMS Developer Guide
PreProcessMessage Method (AgentCtl)


MVPSI.JAMS Namespace > AgentCtl Class : PreProcessMessage Method
Syntax
'Declaration
 
<System.Security.Permissions.SecurityPermissionAttribute(Flags=SecurityPermissionFlag.UnmanagedCode, 
   Assertion=False, 
   UnmanagedCode=True, 
   SkipVerification=False, 
   Execution=False, 
   ControlThread=False, 
   ControlEvidence=False, 
   ControlPolicy=False, 
   SerializationFormatter=False, 
   ControlDomainPolicy=False, 
   ControlPrincipal=False, 
   ControlAppDomain=False, 
   RemotingConfiguration=False, 
   Infrastructure=False, 
   BindingRedirects=False, 
   Action=SecurityAction.Demand Or  _
    SecurityAction.Deny Or  _
    SecurityAction.LinkDemand, 
   Unrestricted=False)>
<System.Security.Permissions.SecurityPermissionAttribute(Flags=SecurityPermissionFlag.UnmanagedCode, 
   Assertion=False, 
   UnmanagedCode=True, 
   SkipVerification=False, 
   Execution=False, 
   ControlThread=False, 
   ControlEvidence=False, 
   ControlPolicy=False, 
   SerializationFormatter=False, 
   ControlDomainPolicy=False, 
   ControlPrincipal=False, 
   ControlAppDomain=False, 
   RemotingConfiguration=False, 
   Infrastructure=False, 
   BindingRedirects=False, 
   Action=SecurityAction.Demand Or  _
    SecurityAction.Assert Or  _
    SecurityAction.Deny Or  _
    SecurityAction.PermitOnly Or  _
    SecurityAction.LinkDemand Or  _
    SecurityAction.InheritanceDemand, 
   Unrestricted=False)>
Public Overridable Function PreProcessMessage( _
   ByRef msg As System.Windows.Forms.Message _
) As System.Boolean
'Usage
 
Dim instance As AgentCtl
Dim msg As System.Windows.Forms.Message
Dim value As System.Boolean
 
value = instance.PreProcessMessage(msg)
[System.Security.Permissions.SecurityPermission(Flags=SecurityPermissionFlag.UnmanagedCode, 
   Assertion=false, 
   UnmanagedCode=true, 
   SkipVerification=false, 
   Execution=false, 
   ControlThread=false, 
   ControlEvidence=false, 
   ControlPolicy=false, 
   SerializationFormatter=false, 
   ControlDomainPolicy=false, 
   ControlPrincipal=false, 
   ControlAppDomain=false, 
   RemotingConfiguration=false, 
   Infrastructure=false, 
   BindingRedirects=false, 
   Action=SecurityAction.Demand | 
    SecurityAction.Deny | 
    SecurityAction.LinkDemand, 
   Unrestricted=false)]
[System.Security.Permissions.SecurityPermission(Flags=SecurityPermissionFlag.UnmanagedCode, 
   Assertion=false, 
   UnmanagedCode=true, 
   SkipVerification=false, 
   Execution=false, 
   ControlThread=false, 
   ControlEvidence=false, 
   ControlPolicy=false, 
   SerializationFormatter=false, 
   ControlDomainPolicy=false, 
   ControlPrincipal=false, 
   ControlAppDomain=false, 
   RemotingConfiguration=false, 
   Infrastructure=false, 
   BindingRedirects=false, 
   Action=SecurityAction.Demand | 
    SecurityAction.Assert | 
    SecurityAction.Deny | 
    SecurityAction.PermitOnly | 
    SecurityAction.LinkDemand | 
    SecurityAction.InheritanceDemand, 
   Unrestricted=false)]
public virtual System.bool PreProcessMessage( 
   ref System.Windows.Forms.Message msg
)

Parameters

msg
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AgentCtl Class
AgentCtl Members