我需要找到一种方法来检测调用 Application_BeginRequest 方法时请求是否是回调。
Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)<br />
Dim _isCallBack As Boolean = False
' Code to set _isCallBack is True or False Here
If Not _isCallBack Then
'... Some Code
End If
End Sub
我需要知道用什么替换“[设置_isCallBack的代码在此处为真或假]”。