/// <summary> /// Checks the state of an existing Feature. /// </summary> /// <param name = "request"><see cref = "CheckFeatureStateRequest" /> instance that defines the criteria by which the Feature will be queried.</param> /// <returns> /// <see cref = "CheckFeatureStateResponse" /> containing the results of the request for the state of a Feature. /// </returns> public CheckFeatureStateResponse CheckFeatureState(CheckFeatureStateRequest request) { CheckFeatureStateResponse response; try { response = m_FeatureStoreImp.CheckFeatureState(request); } catch (CheckFeatureStateException e) { throw new FaultException <FeatureStoreFault>( FeatureStoreFault.Create(e.Message), new FaultReason( new FaultReasonText( e.Message, CultureInfo.CurrentCulture))); } return(response); }
/// <summary> /// Retrieves the defined features. /// </summary> /// <param name = "request"><see cref = "RetrieveDefinedFeaturesRequest" /> instance containing the criteria by which the <see /// cref = "Feature" />s are selected.</param> /// <returns> /// <see cref = "RetrieveDefinedFeaturesResponse" /> instance containing the results based on the given criteria. /// </returns> public RetrieveDefinedFeaturesResponse RetrieveDefinedFeatures(RetrieveDefinedFeaturesRequest request) { RetrieveDefinedFeaturesResponse response; try { response = m_FeatureStoreImp.RetrieveDefinedFeatures(request); } catch (RetrieveDefinedFeaturesException e) { throw new FaultException <FeatureStoreFault>( FeatureStoreFault.Create(e.Message), new FaultReason( new FaultReasonText( e.Message, CultureInfo.CurrentCulture))); } return(response); }