CancelOnError Property

Official Content
This documentation is valid for:
This property is used to indicate how errors will be handled when calling a GeneXus object through SOAP and when invoking a Web Service imported with GeneXus WSDL Inspector.

Syntax

&DataType.CancelOnError

Type Returned:
Numeric

Values

0 For SOAP it calls the behavior depends on the value of the Cancel Caller Execution On Error Property.
For Web Services invocation caller program will always cancel execution.
This is the default value.
1 Caller program cancels execution when an error occurs.
2 Caller program does not stop execution. Error information can be obtained using the GetSoapErr and GetSoapErrMsg functions.

Scope

Extended Data Types: Location
Languages: .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

See Also

Location Data Type
Locations