RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterDispatcher.OnImageRequestNotHandled Event

Occurs when the WebSnap application could not provide a requested image.

Pascal
property OnImageRequestNotHandled: TDispatchImageHandledEvent;
C++
__property TDispatchImageHandledEvent OnImageRequestNotHandled;

Write an OnImageRequestNotHandled event handler to provide a response to image requests that the adapter components in the application can't honor. This may occur because the adapter dispatcher could not find an adapter to handle the request, or it may occur because the identified adapter was unable to provide the requested image. 

If the OnImageRequestNotHandled event handler exits with its Handled parameter set to false, the dispatcher raises an EAdapterDispatcherException exception.

Tip: Use the Response property of the current Web context to access the response message from the OnImageRequestNotHandled event handler. You can obtain a reference to the Web context by calling the global WebContext function.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!