Advertisement

Building Custom Attributes

  • Tom Barnaby
  • Jason Bock

Abstract

So far, we have focused on attributes defined and used by either the compiler or the .NET runtime. As an example, consider the Serializable attribute. Given that the runtime defines this attribute, it is perfectly reasonable that the runtime can look for its application in code and respond appropriately. The preceding chapters have shown how .NET applies attributes throughout the .NET Framework to provide important functionality such as COM interoperability, serialization, security, and integration with COM+ services. Clearly, Microsoft developers felt that attributes were a useful construct and used them heavily when designing the framework.

Keywords

Method Call Custom Attribute Exception Handling Server Context Context Attribute 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Tom Barnaby and Jason Bock 2003

Authors and Affiliations

  • Tom Barnaby
  • Jason Bock

There are no affiliations available

Personalised recommendations