共用方式為


EventDataProxyMethods.SetPartitionKey(EventData, String) 方法

定義

EventData.PartitionKey 的 Setter

public static void SetPartitionKey (this Microsoft.Azure.EventHubs.EventData eventData, string partitionKey);
static member SetPartitionKey : Microsoft.Azure.EventHubs.EventData * string -> unit
<Extension()>
Public Sub SetPartitionKey (eventData As EventData, partitionKey As String)

參數

eventData
EventData
partitionKey
String

適用於