ServiceBusModelFactory.RuleProperties(String, RuleFilter, RuleAction) 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 RuleProperties instance for mocking.
public static Azure.Messaging.ServiceBus.Administration.RuleProperties RuleProperties (string name, Azure.Messaging.ServiceBus.Administration.RuleFilter filter = default, Azure.Messaging.ServiceBus.Administration.RuleAction action = default);
static member RuleProperties : string * Azure.Messaging.ServiceBus.Administration.RuleFilter * Azure.Messaging.ServiceBus.Administration.RuleAction -> Azure.Messaging.ServiceBus.Administration.RuleProperties
Public Shared Function RuleProperties (name As String, Optional filter As RuleFilter = Nothing, Optional action As RuleAction = Nothing) As RuleProperties
Parameters
- filter
- RuleFilter
The filter to assign as the value of Filter.
- action
- RuleAction
The action to assign as the value of Action.
Returns
The populated RuleProperties instance to use for mocking.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET