Share via


ServiceBusModelFactory Class

Definition

This class contains methods to create certain ServiceBus models.

public static class ServiceBusModelFactory
type ServiceBusModelFactory = class
Public Class ServiceBusModelFactory
Inheritance
ServiceBusModelFactory

Methods

NamespaceProperties(String, DateTimeOffset, DateTimeOffset, MessagingSku, Int32, String)

Creates a new NamespaceProperties instance for mocking.

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

Creates a new QueueProperties instance for mocking.

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

Creates a new QueueRuntimeProperties(String, Int64, Int64, Int64, Int64, Int64, Int64, Int64, DateTimeOffset, DateTimeOffset, DateTimeOffset) instance for mocking.

RuleProperties(String, RuleFilter, RuleAction)

Creates a new RuleProperties instance for mocking.

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

Initializes a new instance of the ServiceBusMessageBatch class.

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)

Creates a new ServiceBusReceivedMessage instance for mocking.

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

Creates a new SubscriptionProperties instance for mocking.

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

Creates a new SubscriptionRuntimeProperties(String, String, Int64, Int64, Int64, Int64, Int64, DateTimeOffset, DateTimeOffset, DateTimeOffset) instance for mocking.

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

Creates a new TopicProperties instance for mocking.

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

Creates a new TopicRuntimeProperties(String, Int64, Int64, Int32, DateTimeOffset, DateTimeOffset, DateTimeOffset) instance for mocking.

Applies to