你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PropertyCallBack<Type1,Type2> Interface

Type Parameters

Type1

The type of the desired property key. Since the twin is a json object, the key will always be a String.

Type2

The type of the desired property value.

public interface PropertyCallBack<Type1,Type2>

The interface for describing the callback that is triggered when there are changes in the client's twin desired properties.

Method Summary

Modifier and Type Method and Description
abstract void PropertyCall(Type1 propertyKey, Type2 propertyValue, Object context)

The callback that is triggered when there are changes in the client's twin desired properties.

Method Details

PropertyCall

public abstract void PropertyCall(Type1 propertyKey, Type2 propertyValue, Object context)

The callback that is triggered when there are changes in the client's twin desired properties.

Parameters:

propertyKey - The desired property key that was updated.
propertyValue - The desired property value that was updated.
context - The context passed to the callback.

Applies to