Class StringWrittenEventArgs
Represents event data for a string, written by EventRaisingStreamWriter.
public class StringWrittenEventArgs : EventArgs
- Inheritance
-
StringWrittenEventArgs
- Inherited Members
Constructors
StringWrittenEventArgs(StringWrittenAction)
Initializes a new instance of the StringWrittenEventArgs class.
public StringWrittenEventArgs(StringWrittenAction action)
Parameters
action
StringWrittenActionMust be Reset.
Exceptions
- ArgumentException
Thrown when
action
is not Reset.
StringWrittenEventArgs(StringWrittenAction, string)
Initializes a new instance of the StringWrittenEventArgs class.
public StringWrittenEventArgs(StringWrittenAction action, string value)
Parameters
action
StringWrittenActionMust be Add.
value
stringWritten string.
Exceptions
- ArgumentException
Thrown when
action
is not Add.
Properties
Action
Gets the Action.
public StringWrittenAction Action { get; }
Property Value
Value
Gets the value.
public string Value { get; }