C# Class Microsoft.Azure.IoTSolutions.DeviceSimulation.WebService.v1.Exceptions.InvalidIotHubConnectionStringFormatException

Inheritance: CustomException
Mostra file Open project: microsoft/MCW-IoT-and-the-Smart-City

Public Methods

Method Description
InvalidIotHubConnectionStringFormatException ( ) : System

This exception is thrown when the IoTHub connection string provided is not properly formatted. The correct format is: HostName=[hubname];SharedAccessKeyName=[iothubowner or service];SharedAccessKey=[null or valid key]

InvalidIotHubConnectionStringFormatException ( string message ) : System
InvalidIotHubConnectionStringFormatException ( string message, Exception innerException ) : System

Method Details

InvalidIotHubConnectionStringFormatException() public method

This exception is thrown when the IoTHub connection string provided is not properly formatted. The correct format is: HostName=[hubname];SharedAccessKeyName=[iothubowner or service];SharedAccessKey=[null or valid key]
public InvalidIotHubConnectionStringFormatException ( ) : System
return System

InvalidIotHubConnectionStringFormatException() public method

public InvalidIotHubConnectionStringFormatException ( string message ) : System
message string
return System

InvalidIotHubConnectionStringFormatException() public method

public InvalidIotHubConnectionStringFormatException ( string message, Exception innerException ) : System
message string
innerException Exception
return System