Class ConnectorFailedEventArgs
This argument is used for events, when a connector has failed a certain action.
Inherited Members
Namespace: TeleScope.Connectors.Abstractions.Events
Assembly: TeleScope.Connectors.Abstractions.dll
Syntax
public class ConnectorFailedEventArgs : ConnectorEventArgs
Constructors
| Improve this Doc View SourceConnectorFailedEventArgs(Exception, String)
Sets name and the message of the exception as Message property.
Declaration
public ConnectorFailedEventArgs(Exception ex, string name)
Parameters
Type | Name | Description |
---|---|---|
Exception | ex | The Exception that was catched within an action of a connector. |
System.String | name | The name of the sender. |
ConnectorFailedEventArgs(Exception, String, String)
Sets name, the exception and a specific message as Message property.
Declaration
public ConnectorFailedEventArgs(Exception ex, string name, string message)
Parameters
Type | Name | Description |
---|---|---|
Exception | ex | The Exception that was catched within an action of a connector. |
System.String | name | The name of the sender. |
System.String | message | The message that has caused the failure within an action of a connector. |
ConnectorFailedEventArgs(String, String)
Sets name and the Message property.
Declaration
public ConnectorFailedEventArgs(string name, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the sender. |
System.String | message | The message that has caused the failure within an action of a connector. |
Properties
| Improve this Doc View SourceException
Gets the exception that may have caused an failure within an action of a connector.
Declaration
public Exception Exception { get; }
Property Value
Type | Description |
---|---|
Exception |
Message
Gets a detailled message that has caused an failure within an action of a connector.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String |