Initializes a new instance of the SmtpStateChangedEventArgs class with the specified old state and new state.
            
    Namespace: 
   Rebex.Net
    Assembly:
   Rebex.Smtp (in Rebex.Smtp.dll)
Syntax
| Visual Basic | 
|---|
Public Sub New ( _ oldState As SmtpState, _ newState As SmtpState _ )  | 
| C# | 
|---|
public SmtpStateChangedEventArgs( SmtpState oldState, SmtpState newState )  | 
Parameters
- oldState
 - Type: Rebex.Net..::..SmtpState
The old state. 
- newState
 - Type: Rebex.Net..::..SmtpState
The new state.