Summary
This method will check the current client version and throw a System.NotSupportedException
if the current client version is older than the required one.
Syntax
public void RequiresVersion(Version requiredVersion, string whatRequiresTheSpecifiedVersion)
Parameters
Name |
Type |
Description |
requiredVersion |
Version |
The version of the client required for the command, property, method, etc.
|
whatRequiresTheSpecifiedVersion |
string |
A text message that identifies the item that requires the version. Will be part of the exception
message as "The XYZ requires version A.B.C...".
|
Return Value