RegistryManager.SetServicePropertiesAsync Method

 

Namespace:   Microsoft.Azure.Devices
Assembly:  Microsoft.Azure.Devices (in Microsoft.Azure.Devices.dll)

Overload List

Name Description
System_CAPS_pubmethod SetServicePropertiesAsync(String, ServiceProperties)

Replaces all the ServiceProperties of a Device

System_CAPS_pubmethod SetServicePropertiesAsync(String, ServiceProperties, CancellationToken)

Replaces all the ServiceProperties of a Device

See Also

RegistryManager Class
Microsoft.Azure.Devices Namespace

Return to top

RegistryManager.SetServicePropertiesAsync Method (String, ServiceProperties)

Replaces all the ServiceProperties of a Device

Syntax

public abstract Task<ServiceProperties> SetServicePropertiesAsync(
    string deviceId,
    ServiceProperties serviceProperties
)
public:
virtual Task<ServiceProperties^>^ SetServicePropertiesAsync(
    String^ deviceId,
    ServiceProperties^ serviceProperties
) abstract

Parameters

Return Value

Type: System.Threading.Tasks.Task<ServiceProperties>

echoes back the updated ServiceProperties object

Return to top

RegistryManager.SetServicePropertiesAsync Method (String, ServiceProperties, CancellationToken)

Replaces all the ServiceProperties of a Device

Syntax

public abstract Task<ServiceProperties> SetServicePropertiesAsync(
    string deviceId,
    ServiceProperties serviceProperties,
    CancellationToken cancellationToken
)
public:
virtual Task<ServiceProperties^>^ SetServicePropertiesAsync(
    String^ deviceId,
    ServiceProperties^ serviceProperties,
    CancellationToken cancellationToken
) abstract

Parameters

Return Value

Type: System.Threading.Tasks.Task<ServiceProperties>

echoes back the updated ServiceProperties object

Return to top