WebserviceTaskException.NOTSUPPORTED_CODE Campo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Specifica il codice di errore utilizzato quando durante l'attività si verifica un evento non supportato.
public: static initonly int NOTSUPPORTED_CODE;
public static readonly int NOTSUPPORTED_CODE;
staticval mutable NOTSUPPORTED_CODE : int
Public Shared ReadOnly NOTSUPPORTED_CODE As Integer
Valore del campo
Esempio
Nell'esempio di codice seguente viene illustrato che ComplexProperties i Complex tipi non sono supportati. Nell'esempio viene generato il NOTSUPPORTED_CODE momento in cui viene rilevata questa situazione.
if (myComplexValues != null &&
myComplexValues.Contains(datatype))
{
throw new WebserviceTaskException(
WebServiceTaskMessages.DATATYPE_NOT_SUPPORTED,
WebserviceTaskException.NOTSUPPORTED_CODE);
Commenti
Il valore statico è 101.