MailKit.ProtocolLogger.ProtocolLogger C# (CSharp) Method

ProtocolLogger() public method

Initializes a new instance of the MailKit.ProtocolLogger class.
Creates a new ProtocolLogger to log to a specified stream.
public ProtocolLogger ( Stream stream ) : System
stream Stream The stream.
return System
		public ProtocolLogger (Stream stream)
		{
			if (stream == null)
				throw new ArgumentNullException (nameof (stream));

			this.stream = stream;
		}

Same methods

ProtocolLogger::ProtocolLogger ( string fileName ) : System