C# Class smarx.WazStorageExtensions.LeaseBlobExtensions

Afficher le fichier Open project: bluedot/WazStorageExtensions

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
DoLeaseOperation ( CloudBlob blob, string leaseId, LeaseAction action ) : void

Method Details

AcquireLease() public static méthode

public static AcquireLease ( this blob ) : string
blob this
Résultat string

BreakLease() public static méthode

public static BreakLease ( this blob ) : void
blob this
Résultat void

ReleaseLease() public static méthode

public static ReleaseLease ( this blob, string leaseId ) : void
blob this
leaseId string
Résultat void

RenewLease() public static méthode

public static RenewLease ( this blob, string leaseId ) : void
blob this
leaseId string
Résultat void

SetMetadata() public static méthode

public static SetMetadata ( this blob, string leaseId ) : void
blob this
leaseId string
Résultat void

TryAcquireLease() public static méthode

public static TryAcquireLease ( this blob ) : string
blob this
Résultat string

TryRenewLease() public static méthode

public static TryRenewLease ( this blob, string leaseId ) : bool
blob this
leaseId string
Résultat bool

UploadText() public static méthode

public static UploadText ( this blob, string text, string leaseId ) : void
blob this
text string
leaseId string
Résultat void