Connectivity Software User's Guide and Reference
HandleAndReturn(UserVerificationOutcome) Method



OpcLabs.BaseLibPrimitives Assembly > OpcLabs.BaseLib.Security.OperationModel Namespace > VerifyUserEventArgs Class > HandleAndReturn Method : HandleAndReturn(UserVerificationOutcome) Method
The outcome of the user verification.
Sets the verification outcome and marks the event as handled.
Syntax
'Declaration
 
Public Overloads Sub HandleAndReturn( _
   ByVal userVerificationOutcome As UserVerificationOutcome _
) 
'Usage
 
Dim instance As VerifyUserEventArgs
Dim userVerificationOutcome As UserVerificationOutcome
 
instance.HandleAndReturn(userVerificationOutcome)
public void HandleAndReturn( 
   UserVerificationOutcome userVerificationOutcome
)
public:
void HandleAndReturn( 
   UserVerificationOutcome userVerificationOutcome
) 

Parameters

userVerificationOutcome
The outcome of the user verification.
Exceptions
ExceptionDescription

An invalid enumeration value was used.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also