Partilhar via


Campo NOTSUPPORTED_CODE

Specifies the error code used when the task encounters something that is not supported.

Namespace:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly:  Microsoft.SqlServer.WebServiceTask (em Microsoft.SqlServer.WebServiceTask.dll)

Sintaxe

'Declaração
Public Shared ReadOnly NOTSUPPORTED_CODE As Integer
'Uso
Dim value As Integer

value = WebserviceTaskException.NOTSUPPORTED_CODE
public static readonly int NOTSUPPORTED_CODE
public:
static initonly int NOTSUPPORTED_CODE
static val NOTSUPPORTED_CODE: int
public static final var NOTSUPPORTED_CODE : int

Comentários

The static value is 101.

Exemplos

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);