IPageAdapter.HandlePagePostBackEvent(String, String) 方法

定义

如果处理异常,则返回 trueReturns true if it handles the exception. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 bool HandlePagePostBackEvent(System::String ^ eventSource, System::String ^ eventArgument);
public bool HandlePagePostBackEvent (string eventSource, string eventArgument);
abstract member HandlePagePostBackEvent : string * string -> bool
Public Function HandlePagePostBackEvent (eventSource As String, eventArgument As String) As Boolean

参数

eventSource
String

事件的源标识符。Source identifier for the event.

eventArgument
String

事件的名称。Name of the event.

返回

Boolean

如果页适配器处理该异常,则为 true;否则为 falsetrue if the page adapter handles the exception; otherwise, false.

注解

在回发期间调用。Called during postback. 允许页适配器自行处理回发事件。Allows a page adapter to handle a postback event by itself.

适用于