CreditCardRecognizedEventArgs Constructor
In This Topic
Initializes a new instance of the CreditCardRecognizedEventArgs class.
Syntax
'Declaration
Public Function New( _
ByVal As String, _
ByVal As String, _
ByVal As String, _
ByVal userDomainName As String, _
ByVal As String, _
ByVal As String, _
ByVal As Boolean _
)
'Usage
Dim accountNumber As String
Dim user As String
Dim machineName As String
Dim userDomainName As String
Dim dateTime As String
Dim eventType As String
Dim success As Boolean
Dim instance As New CreditCardRecognizedEventArgs(accountNumber, user, machineName, userDomainName, dateTime, eventType, success)
public CreditCardRecognizedEventArgs(
string ,
string ,
string ,
string userDomainName,
string ,
string ,
bool
)
Parameters
- accountNumber
- The card number (in redacted format) that was recognized.
- user
- The Windows user name of the current user.
- machineName
- The machine name (as set up in the system control panel).
- userDomainName
- The domain that the user is logged onto, or an empty string if not logged onto a Windows domain.
- dateTime
- The date and time that the event occurred.
- eventType
- The type of access that the credit card number was encountered in (eg. LiveScreen, OfficeTools, ScreenHistory, etc).
- success
- Reserved for future use. This currently always returns a success return code.
See Also