Freigeben über


WebserviceTaskException.NOTSUPPORTED_CODE Field

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

Namespace: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly : Microsoft.SqlServer.WebServiceTask (in microsoft.sqlserver.webservicetask.dll)

Syntax

'Declaration
Public Shared ReadOnly NOTSUPPORTED_CODE As Integer
public static readonly int NOTSUPPORTED_CODE
public:
static initonly int NOTSUPPORTED_CODE
public static final int NOTSUPPORTED_CODE
public static final var NOTSUPPORTED_CODE : int

Beispiel

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

Hinweise

The static value is 101.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

WebserviceTaskException Class
WebserviceTaskException Members
Microsoft.SqlServer.Dts.Tasks.WebServiceTask Namespace