LinkHelperGetParticipantByRole Method (ILinkService, LinkRole) |
Gets the participant that is playing a specified role in the link.
Namespace:
AGI.Foundation.Access
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static IServiceProvider GetParticipantByRole(
ILinkService link,
LinkRole role
)
Public Shared Function GetParticipantByRole (
link As ILinkService,
role As LinkRole
) As IServiceProvider
public:
static IServiceProvider^ GetParticipantByRole(
ILinkService^ link,
LinkRole role
)
static member GetParticipantByRole :
link : ILinkService *
role : LinkRole -> IServiceProvider
Parameters
- link
- Type: AGI.Foundation.AccessILinkService
The link. - role
- Type: AGI.Foundation.AccessLinkRole
The role for which to obtain the participant.
Return Value
Type:
IServiceProviderThe participant.
Exceptions See Also