ProviderConfigurationSettings.Validate(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, validates the provider configuration settings.
public:
abstract bool Validate([Runtime::InteropServices::Out] System::String ^ % message);
public abstract bool Validate (out string message);
abstract member Validate : -> bool
Public MustOverride Function Validate (ByRef message As String) As Boolean
Parameters
- message
- String
The validation message to display.
Returns
true
if the validation was successful; otherwise, false
.
Remarks
The derived class implements this method to return a Boolean value and a message that indicates the validation of the settings. Implementers should ensure that the overridden method returns a value and message to indicate whether the validation was successful and a message that indicates what validation checks failed.
For an example of this method, see the example for the ProviderConfigurationSettings class.