SetException()

SoapMessage::SetException(SoapException) method

Sets the exception that is thrown by the XML Web service method.

void System::Web::Services::Protocols::SoapMessage::SetException(SoapException ex)

Arguments

ParameterTypeDescription
exSoapExceptionThe exception that must be set.

See Also