Compartilhar via


AuthenticationMethodFactory.CreateAuthenticationWithSharedAccessPolicyKey Método

Definição

Método factory para criar um 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

Retornos

um objeto AuthenticationMethod

Aplica-se a