JAMS Developer Guide
Load Method (IMenuWCF)


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

Parameters

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