다음을 통해 공유


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