共用方式為


SharedAccessSignatureTokenProvider Constructor

Definition

protected SharedAccessSignatureTokenProvider (string keyName, string sharedAccessKey, Func<string,byte[]> customKeyEncoder, TimeSpan tokenTimeToLive, Microsoft.Azure.EventHubs.TokenScope tokenScope);
new Microsoft.Azure.EventHubs.SharedAccessSignatureTokenProvider : string * string * Func<string, byte[]> * TimeSpan * Microsoft.Azure.EventHubs.TokenScope -> Microsoft.Azure.EventHubs.SharedAccessSignatureTokenProvider
Protected Sub New (keyName As String, sharedAccessKey As String, customKeyEncoder As Func(Of String, Byte()), tokenTimeToLive As TimeSpan, tokenScope As TokenScope)

Parameters

keyName
String
sharedAccessKey
String
customKeyEncoder
Func<String,Byte[]>
tokenTimeToLive
TimeSpan
tokenScope
TokenScope

Applies to