JAMS Developer Guide
Find Method (IAgentWCF)


MVPSI.JAMS Namespace > IAgentWCF Interface : Find Method
Create and load collection of Agents.
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function Find( _
   ByVal agentName As System.String _
) As System.Threading.Tasks.Task(Of IEnumerable(Of Agent))
'Usage
 
Dim instance As IAgentWCF
Dim agentName As System.String
Dim value As System.Threading.Tasks.Task(Of IEnumerable(Of Agent))
 
value = instance.Find(agentName)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.Threading.Tasks.Task<IEnumerable<Agent>> Find( 
   System.string agentName
)

Parameters

agentName
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

IAgentWCF Interface
IAgentWCF Members