JAMS Developer Guide
Check Method (IMenuWCF)


MVPSI.JAMS Namespace > IMenuWCF Interface : Check Method
Checks access to a Menu definition.
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function Check( _
   ByVal menuID As System.Integer, _
   ByVal menuName As System.String, _
   ByVal access As ObjectAccess _
) As System.Threading.Tasks.Task(Of CheckResult)
'Usage
 
Dim instance As IMenuWCF
Dim menuID As System.Integer
Dim menuName As System.String
Dim access As ObjectAccess
Dim value As System.Threading.Tasks.Task(Of CheckResult)
 
value = instance.Check(menuID, menuName, access)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.Threading.Tasks.Task<CheckResult> Check( 
   System.int menuID,
   System.string menuName,
   ObjectAccess access
)

Parameters

menuID
menuName
access
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

IMenuWCF Interface
IMenuWCF Members