C# Класс smarx.WazStorageExtensions.LeaseBlobExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
AcquireLease ( this blob ) : string
BreakLease ( this blob ) : void
ReleaseLease ( this blob, string leaseId ) : void
RenewLease ( this blob, string leaseId ) : void
SetMetadata ( this blob, string leaseId ) : void
TryAcquireLease ( this blob ) : string
TryRenewLease ( this blob, string leaseId ) : bool
UploadText ( this blob, string text, string leaseId ) : void

Приватные методы

Метод Описание
DoLeaseOperation ( CloudBlob blob, string leaseId, LeaseAction action ) : void

Описание методов

AcquireLease() публичный статический Метод

public static AcquireLease ( this blob ) : string
blob this
Результат string

BreakLease() публичный статический Метод

public static BreakLease ( this blob ) : void
blob this
Результат void

ReleaseLease() публичный статический Метод

public static ReleaseLease ( this blob, string leaseId ) : void
blob this
leaseId string
Результат void

RenewLease() публичный статический Метод

public static RenewLease ( this blob, string leaseId ) : void
blob this
leaseId string
Результат void

SetMetadata() публичный статический Метод

public static SetMetadata ( this blob, string leaseId ) : void
blob this
leaseId string
Результат void

TryAcquireLease() публичный статический Метод

public static TryAcquireLease ( this blob ) : string
blob this
Результат string

TryRenewLease() публичный статический Метод

public static TryRenewLease ( this blob, string leaseId ) : bool
blob this
leaseId string
Результат bool

UploadText() публичный статический Метод

public static UploadText ( this blob, string text, string leaseId ) : void
blob this
text string
leaseId string
Результат void