다음을 통해 공유


WebserviceTaskException.NOTSUPPORTED_CODE 필드

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

네임스페이스:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
어셈블리:  Microsoft.SqlServer.WebServiceTask(Microsoft.SqlServer.WebServiceTask.dll)

구문

‘선언
Public Shared ReadOnly NOTSUPPORTED_CODE As Integer
‘사용 방법
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

주의

The static value is 101.

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

참고 항목

참조

WebserviceTaskException 클래스

Microsoft.SqlServer.Dts.Tasks.WebServiceTask 네임스페이스