- authenticationModule
The System.Net.IAuthenticationModule to remove from the list of registered modules.
Type Reason ArgumentNullException authenticationModule is null. InvalidOperationException authenticationModule is not a registered authentication module.
The AuthenticationManager.Unregister(IAuthenticationModule) method removes the specified authentication module from the list of authentication modules called by the AuthenticationManager.Authenticate(string, WebRequest, ICredentials) method. The module must have been added to the list using the AuthenticationManager.Register(IAuthenticationModule) method before it can be removed from the list.