In This Topic
The following tables list the members exposed by GException.
Public Constructors
Public Properties
| Name | Description |
| AspectPriority | Gets or sets the weaving priority of the aspect. (Inherited from PostSharp.Aspects.Aspect) |
| AttributeExclude | If true, indicates that this attribute removes all other instances of the same attribute type from the set of elements defined by the current instance. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeId | (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeInheritance | Determines whether this attribute is inherited (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributePriority | Gets or sets the priority of the current attribute in case that multiple instances are defined on the same element (lower values are processed before). (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeReplace | Determines whether this attribute replaces other attributes found on the target declarations. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetAssemblies | Gets or sets the assemblies to which the current attribute apply. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetElements | Gets or sets the kind of elements to which this custom attributes applies. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetExternalMemberAttributes | Gets or sets the visibilities, scopes, virtualities, and implementation of members to which this attribute applies, when the member is external to the current module. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetExternalTypeAttributes | Gets or sets the visibilities of types to which this attribute applies, when this type is external to the current module. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetMemberAttributes | Gets or sets the visibilities, scopes, virtualities, and implementation of members to which this attribute applies. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetMembers | Gets or sets the expression specifying to which members this instance applies. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetParameterAttributes | Gets or sets the passing style (by value, out or ref) of parameters to which this attribute applies. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetParameters | Gets or sets the expression specifying to which parameters this instance applies. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetTypeAttributes | Gets or sets the visibilities of types to which this attribute applies. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| AttributeTargetTypes | Gets or sets the expression specifying to which types this instance applies. (Inherited from PostSharp.Extensibility.MulticastAttribute) |
| BaseCategory | The top level category for log messages and metrics. Defaults to the name of the current application. (Inherited from Gibraltar.Agent.PostSharp.GAspectBase) |
| Enabled | Enables or disables exception recording for all methods tagged with GException in the current process. Enabled by default. |
| MessageSeverity | The severity to use for messages. Defaults to Warning. |
| TypeId | When implemented in a derived class, gets a unique identifier for this System.Attribute. (Inherited from System.Attribute) |
Top
Protected Properties
| Name | Description |
| CaptionName | A display caption that is calculated at compile time rather then runtime for efficiency. (Inherited from Gibraltar.Agent.PostSharp.GAspectBase) |
| SerializerType | Gets or sets the System.Type of the serializer (a type derived from PostSharp.Aspects.Serialization.AspectSerializer) used to serialize the aspect instance at build time and deserialize it at runtime. (Inherited from PostSharp.Aspects.Aspect) |
Top
Public Methods
| Name | Description |
| CompileTimeInitialize | Method invoked at build time to initialize the instance fields of the current aspect. This method is invoked before any other build-time method. PostSharp Infrastructure. The method stores values that will allow for faster run-time execution. (Inherited from Gibraltar.Agent.PostSharp.GAspectBase) |
| CompileTimeValidate | Overloaded. (Inherited from PostSharp.Aspects.MethodLevelAspect) |
| Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from System.Attribute) |
| GetAspectConfiguration | Method invoked at build tome to get the imperative configuration of the current PostSharp.Aspects.Aspect. (Inherited from PostSharp.Aspects.Aspect) |
| GetHashCode | Returns the hash code for this instance. (Inherited from System.Attribute) |
| IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from System.Attribute) |
| Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from System.Attribute) |
| OnEntry | Method executed before the body of methods to which this aspect is applied. (Inherited from PostSharp.Aspects.OnMethodBoundaryAspect) |
| OnException | Overridden. Method executed after the body of methods to which this aspect is applied, in case that the method resulted with an exception. PostSharp Infrastructure. Provides exception information to be recorded on method exit. |
| OnExit | Method executed after the body of methods to which this aspect is applied, even when the method exists with an exception (this method is invoked from the finally block). (Inherited from PostSharp.Aspects.OnMethodBoundaryAspect) |
| OnSuccess | Method executed after the body of methods to which this aspect is applied, but only when the method successfully returns (i.e. when no exception flies out the method.). (Inherited from PostSharp.Aspects.OnMethodBoundaryAspect) |
| RuntimeInitialize | Initializes the current aspect. (Inherited from PostSharp.Aspects.MethodLevelAspect) |
Top
See Also