Initializes a new instance of the CachedAllowableAuthenticationsParameters class.
Namespace: ININ.IceLib.ConnectionAssembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public CachedAllowableAuthenticationsParameters( string hostName, ICollection<AuthenticationFields> supportedAuthenticationFields ) |
Visual Basic |
---|
Public Sub New ( _ hostName As String, _ supportedAuthenticationFields As ICollection(Of AuthenticationFields) _ ) |
Parameters
- hostName
- Type: System..::..String
The name of the host used to look up the allowable authentications.
- supportedAuthenticationFields
- Type: System.Collections.Generic..::..ICollection<(Of <(<'AuthenticationFields>)>)>
The supported authentication fields.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | hostName is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::..ArgumentException | hostName is Empty. |
System..::..ArgumentOutOfRangeException | supportedAuthenticationFields contains a value not part of the AuthenticationFields enum, or is None. |
Version Information
Supported for IC Server version 2016 R1 and beyond.