AuthenticationMethodFactory.CreateAuthenticationWithSharedAccessPolicyKey メソッド

定義

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

パラメーター

policyName
String

PolicyName

key
String

SharedAccessKeyValue

戻り値

AuthenticationMethod オブジェクト

適用対象