DataService<T>.HandleException(HandleExceptionArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when an exception is raised while processing a request.
protected:
virtual void HandleException(System::Data::Services::HandleExceptionArgs ^ args);
protected virtual void HandleException(System.Data.Services.HandleExceptionArgs args);
abstract member HandleException : System.Data.Services.HandleExceptionArgs -> unit
override this.HandleException : System.Data.Services.HandleExceptionArgs -> unit
Protected Overridable Sub HandleException (args As HandleExceptionArgs)
Parameters
- args
- HandleExceptionArgs
Exception arguments.
Remarks
A data service may modify the args
instance to customize how the exception will be sent in the response.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา