Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Delegate AccessDeniedDelegate

The delegate type used by AccessDenied() to handle access denied reporting to a web browser.

Namespace: EPiServer
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
[Obsolete("Delegate no longer used. Use IAccessDeniedHandler to handle access denied errors.")]
public delegate void AccessDeniedDelegate(object source);
Parameters
Type Name Description
System.Object source

The object that invokes the delegate.

Constructors

AccessDeniedDelegate(Object, IntPtr)

Declaration
public AccessDeniedDelegate(object object, IntPtr method)
Parameters
Type Name Description
System.Object object
System.IntPtr method

Methods

BeginInvoke(Object, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(object source, AsyncCallback callback, object object)
Parameters
Type Name Description
System.Object source
System.AsyncCallback callback
System.Object object
Returns
Type Description
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type Name Description
System.IAsyncResult result

Invoke(Object)

Declaration
public virtual void Invoke(object source)
Parameters
Type Name Description
System.Object source

Extension Methods