ShareFileClient.Exists(CancellationToken) Method
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 Exists(CancellationToken) operation can be called on a ShareFileClient to see if the associated file exists in the share on the storage account.
public virtual Azure.Response<bool> Exists (System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)
- cancellationToken
- CancellationToken
Optional CancellationToken to propagate notifications that the operation should be cancelled.
Returns true if the file exists.
A RequestFailedException will be thrown if a failure occurs.
Feedback su Azure SDK for .NET
Azure SDK for .NET è un progetto di open source. Selezionare un collegamento per fornire feedback: