JAMS Developer Guide
Check Method (IAccessToolsWCF)


MVPSI.JAMS Namespace > IAccessToolsWCF Interface : Check Method
Check access to an object, throws an exception if access is denied.
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function Check( _
   ByVal objType As AccessObject, _
   ByVal accessDesired As ObjectAccess _
) As System.Threading.Tasks.Task
'Usage
 
Dim instance As IAccessToolsWCF
Dim objType As AccessObject
Dim accessDesired As ObjectAccess
Dim value As System.Threading.Tasks.Task
 
value = instance.Check(objType, accessDesired)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.Threading.Tasks.Task Check( 
   AccessObject objType,
   ObjectAccess accessDesired
)

Parameters

objType
accessDesired
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

IAccessToolsWCF Interface
IAccessToolsWCF Members