CommunicationException Constructor (String, String, HttpStatusCode, Exception)
Initializes a new instance of the CommunicationException class
Namespace:
Sportradar.MTS.SDK.Common.ExceptionsAssembly: Sportradar.MTS.SDK (in Sportradar.MTS.SDK.dll)
Syntax
public CommunicationException( string message, string url, HttpStatusCode responseCode, Exception innerException )
Parameters
- message
- Type: String
The error message that explains the reason for the exception
- url
- Type: String
The String representation of the url specifying the resource which was being accessed
- responseCode
- Type: HttpStatusCode
A HttpStatusCode specifying the response code
- innerException
- Type: Exception
The exception that is the cause of the current exception, or a null reference if no inner exception is specified