Storage Client Library for Windows Phone (Version 7.0)

Microsoft Windows Azure Storage Blob

CloudFileShare.BeginSetPermissions Method (FileSharePermissions, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object) (Microsoft.WindowsAzure.Storage.File)

Begins an asynchronous request to set permissions for the share.

Namespace:   Microsoft.WindowsAzure.Storage.File
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Syntax

 
[DoesServiceRequestAttribute]
public virtual ICancellableAsyncResult BeginSetPermissions(
	FileSharePermissions permissions,
	AccessCondition accessCondition,
	FileRequestOptions options,
	OperationContext operationContext,
	AsyncCallback callback,
	object state
)
 
public:
[DoesServiceRequestAttribute]
virtual ICancellableAsyncResult^ BeginSetPermissions(
	FileSharePermissions^ permissions,
	AccessCondition^ accessCondition,
	FileRequestOptions^ options,
	OperationContext^ operationContext,
	AsyncCallback^ callback,
	Object^ state
)
 
[<DoesServiceRequestAttribute>]
abstract BeginSetPermissions : 
        permissions:FileSharePermissions *
        accessCondition:AccessCondition *
        options:FileRequestOptions *
        operationContext:OperationContext *
        callback:AsyncCallback *
        state:Object -> ICancellableAsyncResult
[<DoesServiceRequestAttribute>]
override BeginSetPermissions : 
        permissions:FileSharePermissions *
        accessCondition:AccessCondition *
        options:FileRequestOptions *
        operationContext:OperationContext *
        callback:AsyncCallback *
        state:Object -> ICancellableAsyncResult
 
<DoesServiceRequestAttribute>
Public Overridable Function BeginSetPermissions (
	permissions As FileSharePermissions,
	accessCondition As AccessCondition,
	options As FileRequestOptions,
	operationContext As OperationContext,
	callback As AsyncCallback,
	state As Object
) As ICancellableAsyncResult

Parameters

permissions
Type: Microsoft.WindowsAzure.Storage.File.FileSharePermissionsMicrosoft.WindowsAzure.Storage.File::FileSharePermissions^Microsoft.WindowsAzure.Storage.File.FileSharePermissionsMicrosoft.WindowsAzure.Storage.File.FileSharePermissions

The permissions to apply to the share.

accessCondition
Type: Microsoft.WindowsAzure.Storage.AccessConditionMicrosoft.WindowsAzure.Storage::AccessCondition^Microsoft.WindowsAzure.Storage.AccessConditionMicrosoft.WindowsAzure.Storage.AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
Type: Microsoft.WindowsAzure.Storage.File.FileRequestOptionsMicrosoft.WindowsAzure.Storage.File::FileRequestOptions^Microsoft.WindowsAzure.Storage.File.FileRequestOptionsMicrosoft.WindowsAzure.Storage.File.FileRequestOptions

A FileRequestOptions object that specifies additional options for the request.

operationContext
Type: Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage::OperationContext^Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage.OperationContext

An OperationContext object that represents the context for the current operation.

callback
Type: System.AsyncCallbackSystem::AsyncCallback^System.AsyncCallbackSystem.AsyncCallback

An AsyncCallback delegate that will receive notification when the asynchronous operation completes.

state
Type: System.ObjectSystem::Object^System.ObjectSystem.Object

A user-defined object that will be passed to the callback delegate.

Return to top