ServiceBusRuleManager Class
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.
The ServiceBusRuleManager allows rules for a subscription to be managed. The rule manager requires only Listen claims, whereas the ServiceBusAdministrationClient requires Manage claims.
public class ServiceBusRuleManager : IAsyncDisposable
type ServiceBusRuleManager = class
interface IAsyncDisposable
Public Class ServiceBusRuleManager
Implements IAsyncDisposable
- Inheritance
-
ServiceBusRuleManager
- Implements
Constructors
ServiceBusRuleManager() |
Initializes a new instance of the ServiceBusRuleManager class for mocking. |
Properties
FullyQualifiedNamespace |
The fully qualified Service Bus namespace that the rule manager is associated with. This is likely
to be similar to |
IsClosed |
Indicates whether or not this ServiceBusRuleManager has been closed. |
SubscriptionPath |
The path of the Service Bus subscription that the rule manager is connected to, specific to the Service Bus namespace that contains it. |
Methods
CloseAsync(CancellationToken) |
Performs the task needed to clean up resources used by the ServiceBusRuleManager. |
CreateRuleAsync(CreateRuleOptions, CancellationToken) |
Adds a rule to the current subscription to filter the messages reaching from topic to the subscription. |
CreateRuleAsync(String, RuleFilter, CancellationToken) |
Adds a rule to the current subscription to filter the messages reaching from topic to the subscription. |
DeleteRuleAsync(String, CancellationToken) |
Removes the rule on the subscription identified by |
DisposeAsync() |
Performs the task needed to clean up resources used by the ServiceBusRuleManager. This is equivalent to calling CloseAsync(CancellationToken). |
GetRulesAsync(CancellationToken) |
Iterates over the rules associated with the subscription. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기