Megosztás a következőn keresztül:


NamespaceManager.SubscriptionExists(String, String) Method

Definition

Determines whether a subscription exists in the service namespace.

public bool SubscriptionExists (string topicPath, string name);
member this.SubscriptionExists : string * string -> bool
Public Function SubscriptionExists (topicPath As String, name As String) As Boolean

Parameters

topicPath
String

The path of the topic relative to the service namespace base address.

name
String

The name of the subscription.

Returns

true if a subscription exists in the service namespace; otherwise, false.

Applies to