你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ProtectedFileProvider Class

Definition

Protect access to a shared file. File can be accessed in ReadOnly or ReadWrite mode

public abstract class ProtectedFileProvider : IDisposable, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IFileProvider
type ProtectedFileProvider = class
    interface IFileProvider
    interface IDisposable
Public MustInherit Class ProtectedFileProvider
Implements IDisposable, IFileProvider
Inheritance
ProtectedFileProvider
Implements

Constructors

ProtectedFileProvider()

Fields

_stream
MaxTries

Properties

DataStore
FilePath
Stream

Methods

AcquireLock(String)
CreateFileProvider(String, FileProtection)

Protect access to file usign the given protection level

CreateFileProvider(String, FileProtection, IDataStore)

Protect access to file usign the given protection level

CreateReader()

A reader for the stream associated with this file provider

CreateWriter()

A reader for the stream associated with this file provider

Dispose()

Dispose the file and the file lock

Dispose(Boolean)
InitializeStream()

Applies to