WebserviceTaskException.NOTSUPPORTED_CODE Field
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.
Specifies the error code used when the task encounters something that is not supported.
public: static initonly int NOTSUPPORTED_CODE;
public static readonly int NOTSUPPORTED_CODE;
staticval mutable NOTSUPPORTED_CODE : int
Public Shared ReadOnly NOTSUPPORTED_CODE As Integer
Field Value
Examples
The following code example shows that ComplexProperties
of Complex
types are not supported. The example throws the NOTSUPPORTED_CODE
when this situation is encountered.
if (myComplexValues != null &&
myComplexValues.Contains(datatype))
{
throw new WebserviceTaskException(
WebServiceTaskMessages.DATATYPE_NOT_SUPPORTED,
WebserviceTaskException.NOTSUPPORTED_CODE);
Remarks
The static value is 101.