Open sandboxFocus

Constructor AdviceArgs

AdviceArgs(object)

Initializes a new instance of the AdviceArgs class.

Declaration
public AdviceArgs(object instance)
Parameters
Type Name Description
object instance

The instance related to the advice invocation, or null if the advice is associated with a static element of code.