Compartir a través de


AuthenticationMethodFactory.CreateAuthenticationWithSharedAccessPolicyToken Método

Definición

Método Factory para crear un objeto ServiceAuthenticationWithSharedAccessPolicyToken

public static Microsoft.Azure.Devices.IAuthenticationMethod CreateAuthenticationWithSharedAccessPolicyToken (string policyName, string token);
static member CreateAuthenticationWithSharedAccessPolicyToken : string * string -> Microsoft.Azure.Devices.IAuthenticationMethod
Public Shared Function CreateAuthenticationWithSharedAccessPolicyToken (policyName As String, token As String) As IAuthenticationMethod

Parámetros

policyName
String

PolicyName

token
String

SharedAccessSignatureToken

Devoluciones

un objeto AuthenticationMethod

Se aplica a