Compartir a través de


AuthenticationMethodFactory.CreateAuthenticationWithSharedAccessPolicyKey Método

Definición

Método Factory para crear un objeto ServiceAuthenticationWithSharedAccessPolicyKey

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

Parámetros

policyName
String

PolicyName

key
String

SharedAccessKeyValue

Devoluciones

un objeto AuthenticationMethod

Se aplica a