Freigeben über


ISessionStatePersistenceProvider.SetAsync Methode

Definition

public System.Threading.Tasks.Task SetAsync (Microsoft.Azure.Devices.ProtocolGateway.Identity.IDeviceIdentity identity, Microsoft.Azure.Devices.ProtocolGateway.Mqtt.Persistence.ISessionState sessionState);
abstract member SetAsync : Microsoft.Azure.Devices.ProtocolGateway.Identity.IDeviceIdentity * Microsoft.Azure.Devices.ProtocolGateway.Mqtt.Persistence.ISessionState -> System.Threading.Tasks.Task
Public Function SetAsync (identity As IDeviceIdentity, sessionState As ISessionState) As Task

Parameter

identity
IDeviceIdentity
sessionState
ISessionState

Gibt zurück

Gilt für: