C# Class IrcDotNet.Ctcp.CtcpErrorMessageReceivedEventArgs

Provides data for the CtcpClient.ErrorMessageReceived event.
Inheritance: CtcpResponseReceivedEventArgs
显示文件 Open project: IrcDotNet/IrcDotNet Class Usage Examples

Public Methods

Method Description
CtcpErrorMessageReceivedEventArgs ( IrcUser user, string noErrorMessage ) : System

Initializes a new instance of the CtcpErrorMessageReceivedEventArgs class, specifying that no error occurred.

CtcpErrorMessageReceivedEventArgs ( IrcUser user, string failedQuery, string errorMessage ) : System

Initializes a new instance of the CtcpErrorMessageReceivedEventArgs class, specifying the query that failed with an error message.

Method Details

CtcpErrorMessageReceivedEventArgs() public method

Initializes a new instance of the CtcpErrorMessageReceivedEventArgs class, specifying that no error occurred.
public CtcpErrorMessageReceivedEventArgs ( IrcUser user, string noErrorMessage ) : System
user IrcUser
noErrorMessage string The message indicating that no error occurred.
return System

CtcpErrorMessageReceivedEventArgs() public method

Initializes a new instance of the CtcpErrorMessageReceivedEventArgs class, specifying the query that failed with an error message.
public CtcpErrorMessageReceivedEventArgs ( IrcUser user, string failedQuery, string errorMessage ) : System
user IrcUser
failedQuery string A string containing the query that failed.
errorMessage string The message describing the error that occurred for the remote user.
return System