 | Router Constructor (String, String) |
Initializes a new instance of a
Router
Namespace:
SMTPRouter
Assembly:
SMTPRouter (in SMTPRouter.dll) Version: 1.0.0.4
Syntaxpublic Router(
string queueName,
string queuePath
)
Public Sub New (
queueName As String,
queuePath As String
)
Dim queueName As String
Dim queuePath As String
Dim instance As New Router(queueName,
queuePath)
public:
Router(
String^ queueName,
String^ queuePath
)
Parameters
- queueName
- Type: SystemString
Name of the Queue - queuePath
- Type: SystemString
Root folder where the queue will be located. Ensure you have permissions on that folder.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Either queueName or queuePath parameters are null or an empty string |
RemarksInner blanks will be removed from
queueName and
queuePath. If the value is an empty string, a
ArgumentNullException will be thrown.
See Also