ExpressRoutePortAuthorizationCollection.Exists 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.
Overloads
| Name | Description |
|---|---|
| Exists(String, CancellationToken) |
Invokes the Exists compatibility operation. |
| Exists(String, String, CancellationToken) |
Invokes the Exists compatibility operation. |
Exists(String, CancellationToken)
Invokes the Exists compatibility operation.
public virtual Azure.Response<bool> Exists(string authorizationName, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (authorizationName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)
Parameters
- authorizationName
- String
The name of the authorization.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
authorizationName is an empty string, and was expected to be non-empty.
authorizationName is null.
Applies to
Exists(String, String, CancellationToken)
Invokes the Exists compatibility operation.
public virtual Azure.Response<bool> Exists(string expressRoutePortName, string authorizationName, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (expressRoutePortName As String, authorizationName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)
Parameters
- expressRoutePortName
- String
- authorizationName
- String
- cancellationToken
- CancellationToken