SmtpResponse constructor (String, String, String[])
The SmtpResponse constructor initializes a new instance of the SmtpResponse structure.
Namespace: Microsoft.Exchange.Data.Transport.Smtp
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public Sub New ( _
statusCode As String, _
enhancedStatusCode As String, _
ParamArray statusText As String() _
)
'Usage
Dim statusCode As String
Dim enhancedStatusCode As String
Dim statusText As String()
Dim instance As New SmtpResponse(statusCode, _
enhancedStatusCode, statusText)
public SmtpResponse(
string statusCode,
string enhancedStatusCode,
params string[] statusText
)
Parameters
statusCode
Type: System.StringThe status code.
enhancedStatusCode
Type: System.StringThe enhanced status code.
statusText
Type: []Reply text to send to the caller.
Remarks
The statusCode parameter is required. The enhancedStatusCode and statusText parameters may each be empty or a null reference (Nothing in Visual Basic).