@ DoesServiceRequest public void create ( FileRequestOptions options , OperationContext opContext ) throws StorageException { if ( opContext == null ) { opContext = new OperationContext ( ) ; } assertNoSnapshot ( ) ; if ( this . properties != null && this . properties . getShareQuota ( ) != null ) { Utility . assertInBounds ( "Share Quota" , this . properties . getShareQuota ( ) , 1 , FileConstants . MAX_SHARE_QUOTA ) ; } opContext . initialize ( ) ; options = FileRequestOptions . populateAndApplyDefaults ( options , this . fileServiceClient ) ; ExecutionEngine . executeWithRetry ( this . fileServiceClient , this , createImpl ( options ) , options . getRetryPolicyFactory ( ) , opContext ) ; }
Creates the share using the specified options and operation context .