Dart.Snmp Namespace > User Class > User Constructor : User Constructor(String,String,AuthenticationProtocol,String,PrivacyProtocol) |
Public Function New( _ ByVal name As String, _ ByVal authenticationPassword As String, _ ByVal authenticationProtocol As AuthenticationProtocol, _ ByVal privacyPassword As String, _ ByVal privacyProtocol As PrivacyProtocol _ )
Dim name As String Dim authenticationPassword As String Dim authenticationProtocol As AuthenticationProtocol Dim privacyPassword As String Dim privacyProtocol As PrivacyProtocol Dim instance As New User(name, authenticationPassword, authenticationProtocol, privacyPassword, privacyProtocol)
public User( string name, string authenticationPassword, AuthenticationProtocol authenticationProtocol, string privacyPassword, PrivacyProtocol privacyProtocol )
Exception | Description |
---|---|
System.ArgumentException | A required parameter is a string of 0 length or null, or authenticationPassword is null and privacyPassword is not. |
If privacyPassword in not null, then authenticationPassword must not be null.