C# Class IOTGateway.FieldGatewayExtensions

Datei anzeigen Open project: michael-chi/Azure-IOTHub

Public Methods

Method Description
ReceiveCommandByDeviceid ( this operations, string deviceId ) : string
ReceiveCommandByDeviceidAsync ( this operations, string deviceId, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
RegisterByDeviceid ( this operations, string deviceId ) : string
RegisterByDeviceidAsync ( this operations, string deviceId, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
SendTelemetryByTelemetry ( this operations, TelemetryData telemetry ) : object
SendTelemetryByTelemetryAsync ( this operations, TelemetryData telemetry, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
UnregisterByDeviceid ( this operations, string deviceId ) : object
UnregisterByDeviceidAsync ( this operations, string deviceId, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task

Method Details

ReceiveCommandByDeviceid() public static method

public static ReceiveCommandByDeviceid ( this operations, string deviceId ) : string
operations this /// Reference to the IOTGateway.IFieldGateway. ///
deviceId string /// Required. ///
return string

ReceiveCommandByDeviceidAsync() public static method

public static ReceiveCommandByDeviceidAsync ( this operations, string deviceId, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
operations this /// Reference to the IOTGateway.IFieldGateway. ///
deviceId string /// Required. ///
cancellationToken System.Threading.CancellationToken /// Cancellation token. ///
return Task

RegisterByDeviceid() public static method

public static RegisterByDeviceid ( this operations, string deviceId ) : string
operations this /// Reference to the IOTGateway.IFieldGateway. ///
deviceId string /// Required. ///
return string

RegisterByDeviceidAsync() public static method

public static RegisterByDeviceidAsync ( this operations, string deviceId, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
operations this /// Reference to the IOTGateway.IFieldGateway. ///
deviceId string /// Required. ///
cancellationToken System.Threading.CancellationToken /// Cancellation token. ///
return Task

SendTelemetryByTelemetry() public static method

public static SendTelemetryByTelemetry ( this operations, TelemetryData telemetry ) : object
operations this /// Reference to the IOTGateway.IFieldGateway. ///
telemetry TelemetryData /// Required. ///
return object

SendTelemetryByTelemetryAsync() public static method

public static SendTelemetryByTelemetryAsync ( this operations, TelemetryData telemetry, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
operations this /// Reference to the IOTGateway.IFieldGateway. ///
telemetry TelemetryData /// Required. ///
cancellationToken System.Threading.CancellationToken /// Cancellation token. ///
return Task

UnregisterByDeviceid() public static method

public static UnregisterByDeviceid ( this operations, string deviceId ) : object
operations this /// Reference to the IOTGateway.IFieldGateway. ///
deviceId string /// Required. ///
return object

UnregisterByDeviceidAsync() public static method

public static UnregisterByDeviceidAsync ( this operations, string deviceId, CancellationToken cancellationToken = default(System.Threading.CancellationToken) ) : Task
operations this /// Reference to the IOTGateway.IFieldGateway. ///
deviceId string /// Required. ///
cancellationToken System.Threading.CancellationToken /// Cancellation token. ///
return Task