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

适用于