次の方法で共有


DeviceIdManager.PersistIfDeviceAlreadyExists Property

Definition

Indicates that the credentials should be persisted to the disk if registration fails with DeviceAlreadyExists.

public:
 static property bool PersistIfDeviceAlreadyExists { bool get(); void set(bool value); };
public static bool PersistIfDeviceAlreadyExists { get; set; }
static member PersistIfDeviceAlreadyExists : bool with get, set
Public Shared Property PersistIfDeviceAlreadyExists As Boolean

Property Value

Remarks

If the device already exists, there is a possibility that the credentials are the same as the current credentials that are being registered. This is especially true in automated environments where the same credentials are used continually (to avoid registering spurious device credentials.

Applies to