ServiceBusModelFactory.NamespaceProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new NamespaceProperties instance for mocking.
public static Azure.Messaging.ServiceBus.Administration.NamespaceProperties NamespaceProperties (string name, DateTimeOffset createdTime, DateTimeOffset modifiedTime, Azure.Messaging.ServiceBus.Administration.MessagingSku messagingSku, int messagingUnits, string alias);
static member NamespaceProperties : string * DateTimeOffset * DateTimeOffset * Azure.Messaging.ServiceBus.Administration.MessagingSku * int * string -> Azure.Messaging.ServiceBus.Administration.NamespaceProperties
Public Shared Function NamespaceProperties (name As String, createdTime As DateTimeOffset, modifiedTime As DateTimeOffset, messagingSku As MessagingSku, messagingUnits As Integer, alias As String) As NamespaceProperties
Parameters
- createdTime
- DateTimeOffset
The time interval to assign as the value of CreatedTime.
- modifiedTime
- DateTimeOffset
The time interval to assign as the value of ModifiedTime.
- messagingSku
- MessagingSku
The SKU value to assign as the value of MessagingSku.
- messagingUnits
- Int32
The unit value to assign as the value of MessagingUnits.
Returns
The populated NamespaceProperties instance to use for mocking.
Applies to
Azure SDK for .NET