LinkHelperGetRoleOfParticipant Method (IServiceProvider, IServiceProvider) |
Gets the role played by a specified participant 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 LinkRole GetRoleOfParticipant(
IServiceProvider link,
IServiceProvider participant
)
Public Shared Function GetRoleOfParticipant (
link As IServiceProvider,
participant As IServiceProvider
) As LinkRole
public:
static LinkRole GetRoleOfParticipant(
IServiceProvider^ link,
IServiceProvider^ participant
)
static member GetRoleOfParticipant :
link : IServiceProvider *
participant : IServiceProvider -> LinkRole
Parameters
- link
- Type: SystemIServiceProvider
The link. - participant
- Type: SystemIServiceProvider
The participant.
Return Value
Type:
LinkRoleThe role played by the participant.
Exceptions See Also