共用方式為


ServiceBusModelFactory 類別

定義

這個類別包含建立特定 ServiceBus 模型的方法。

public static class ServiceBusModelFactory
type ServiceBusModelFactory = class
Public Class ServiceBusModelFactory
繼承
ServiceBusModelFactory

方法

QueueProperties(String, TimeSpan, Int64, Boolean, Boolean, TimeSpan, TimeSpan, Boolean, TimeSpan, Int32, Boolean, EntityStatus, String, String, String, Boolean)

建立模擬的新 QueueProperties 實例。

QueueRuntimeProperties(String, Int64, Int64, Int64, Int64, Int64, Int64, Int64, DateTimeOffset, DateTimeOffset, DateTimeOffset)

建立模擬的新 QueueRuntimeProperties(String, Int64, Int64, Int64, Int64, Int64, Int64, Int64, DateTimeOffset, DateTimeOffset, DateTimeOffset) 實例。

RuleProperties(String, RuleFilter, RuleAction)

建立模擬的新 RuleProperties 實例。

ServiceBusMessageBatch(Int64, IList<ServiceBusMessage>, CreateMessageBatchOptions, Func<ServiceBusMessage,Boolean>)

初始化 ServiceBusMessageBatch 類別的新執行個體。

ServiceBusReceivedMessage(BinaryData, String, String, String, String, String, TimeSpan, String, String, String, String, String, DateTimeOffset, IDictionary<String,Object>, Guid, Int32, DateTimeOffset, Int64, String, Int64, DateTimeOffset, ServiceBusMessageState)

建立新的 ServiceBusReceivedMessage 實例以進行模擬。

SubscriptionProperties(String, String, TimeSpan, Boolean, TimeSpan, TimeSpan, Boolean, Int32, Boolean, EntityStatus, String, String, String)

建立模擬的新 SubscriptionProperties 實例。

SubscriptionRuntimeProperties(String, String, Int64, Int64, Int64, Int64, Int64, DateTimeOffset, DateTimeOffset, DateTimeOffset)

建立模擬的新 SubscriptionRuntimeProperties(String, String, Int64, Int64, Int64, Int64, Int64, DateTimeOffset, DateTimeOffset, DateTimeOffset) 實例。

TopicProperties(String, Int64, Boolean, TimeSpan, TimeSpan, TimeSpan, Boolean, EntityStatus, Boolean, Int64)

建立模擬的新 TopicProperties 實例。

TopicRuntimeProperties(String, Int64, Int64, Int32, DateTimeOffset, DateTimeOffset, DateTimeOffset)

建立模擬的新 TopicRuntimeProperties(String, Int64, Int64, Int32, DateTimeOffset, DateTimeOffset, DateTimeOffset) 實例。

適用於