IdentityProviderSettingSection.CustomValidatorChkTrustedProvider Method
Handles the ServerValidate event for the input form represented by the CustValTrustedIdentityProviderSelection field.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Sub CustomValidatorChkTrustedProvider ( _
sender As Object, _
args As ServerValidateEventArgs _
)
'Usage
Dim sender As Object
Dim args As ServerValidateEventArgs
Me.CustomValidatorChkTrustedProvider(sender, _
args)
protected void CustomValidatorChkTrustedProvider(
Object sender,
ServerValidateEventArgs args
)
Parameters
sender
Type: System.ObjectThe source of the event.
args
Type: System.Web.UI.WebControls.ServerValidateEventArgsThe data for the event.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | args is null . |
Remarks
This method validates whether a provider is selected when the trusted login provider represented by the ChkTrustedProvider field is enabled.
See Also
Reference
IdentityProviderSettingSection Class