SmtpResponse constructor (String, String, String, Boolean, String[])
Initializes a new instance of the SmtpResponse structure with a status code and enhanced status code for the response and a delivery status notification (DSN) explanation that contains additional Unicode information associated with a DSN.
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, _
dsnExplanation As String, _
overloadDifferentiator As Boolean, _
ParamArray statusText As String() _
)
'Usage
Dim statusCode As String
Dim enhancedStatusCode As String
Dim dsnExplanation As String
Dim overloadDifferentiator As Boolean
Dim statusText As String()
Dim instance As New SmtpResponse(statusCode, _
enhancedStatusCode, dsnExplanation, _
overloadDifferentiator, statusText)
public SmtpResponse(
string statusCode,
string enhancedStatusCode,
string dsnExplanation,
bool overloadDifferentiator,
params string[] statusText
)
Parameters
statusCode
Type: System.StringThe status of the SMTP response.
enhancedStatusCode
Type: System.StringThe status of the response containing additional information.
dsnExplanation
Type: System.StringAdditional information associated with a non-SMTP DSN that may contain Unicode characters.
overloadDifferentiator
Type: System.BooleanAn unused Boolean value that differentiates this constructor from other overload methods.
statusText
Type: []Reply text. Can be a null reference (Nothing in Visual Basic) or empty.