Var denne side nyttig?
Din feedback på dette indhold er vigtigt. Giv os din mening.
Mere feedback?
1500 tegn tilbage
BeginRemoveRule Method
Collapse the table of content
Expand the table of content
EN
Dette indhold er ikke tilgængeligt på dit sprog, men her er den engelske version.

SubscriptionClient.BeginRemoveRule Method (String, AsyncCallback, Object)

 

Begins an asynchronous remove rule action.

Namespace:   Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public IAsyncResult BeginRemoveRule(
	string ruleName,
	AsyncCallback callback,
	object state
)

Parameters

ruleName
Type: System.String

The name of the rule.

callback
Type: System.AsyncCallback

An AsyncCallback delegate that references the method to invoke when the operation is complete.

state
Type: System.Object

A user-defined object that contains information about the receive operation. This object is passed to the EndRemoveRule delegate when the operation is complete.

Return Value

Type: System.IAsyncResult

An IAsyncResult object that references the asynchronous RemoveRule.

Exception Condition
MessagingEntityNotFoundException

Thrown when rule does not exist.

ArgumentException

Thrown if description.Name is null, white space empty or not in the right format.

TimeoutException

ThrowN if the operation exceeded the timeout value set via T:Microsoft.ServiceBus.Messaging.MessagingFactorySettings.OperationTimeout.

OperationCanceledException

Thrown if the client entity has been closed or aborted.

This is an asynchronous version of the RemoveRule method.

Return to top
Vis:
© 2015 Microsoft