code: function(responseObject, next){
      responseObject.shareResult = new ShareResult(share);
      responseObject.shareResult.exists = false;
      
      if (!responseObject.error) {
        responseObject.shareResult.exists = true;
        responseObject.shareResult.getPropertiesFromHeaders(responseObject.response.headers);
        
      } else if (responseObject.error && responseObject.error.statusCode === Constants.HttpConstants.HttpResponseCodes.NotFound) {
        responseObject.error = null;
        responseObject.response.isSuccessful = true;
      }
  
      var finalCallback = function (returnObject) {
        callback(returnObject.error, returnObject.shareResult, returnObject.response);
      };
  
      next(responseObject, finalCallback);
    }
docs: /*if(primaryOnly === false) {
  options.requestLocationMode = RequestLocationMode.PRIMARY_OR_SECONDARY;
  }