WebserviceTaskException.NOTSUPPORTED_CODE Field

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

命名空间: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
程序集: Microsoft.SqlServer.WebServiceTask (in microsoft.sqlserver.webservicetask.dll)

语法

声明
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

示例

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

备注

The static value is 101.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

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