FCFL.NET Common Library - API Reference
FChoice.Common Namespace
Inheritance Hierarchy
The FChoice.Common namespace provides configuration, logging, and error management services to First Choice .NET-based products.
Classes
 ClassDescription
ClassCommonException CommonException is the exception class used throughout the FChoice.Common and FChoice.Common.Data namespaces. It provides localized error messages with unique error identifiers.
ClassConfigValues ConfigValues is a collection of string constants used for strongly-typing the keys used to access the common configuration items in the FCConfiguration collection.
ClassDataProtector Provides easy access to the Windows Data Protection API (DPAPI) for encrypting and decrypting data values
ClassFCArgumentException FCArgumentException is used to signify that parameters passed into APIs are invalid. It has several static (Shared in Visual Basic) methods that make handling required parameters easier.
ClassFCConfiguration The FCConfiguration class provides access to the application configuration and ensures that basic required configuration parameters are present.
ClassFCExceptionBase FCExceptionBase is the base exception from which all other First Choice exception classes derive. It provides pluggable error message strings which allows for easy runtime customization and localization of error messages.
ClassFCInvalidConfigurationException FCInvalidConfigurationException is used when required parameters are missing from the application configuration file, or the parameters specified are invalid for some reason.
ClassFCLicenseException FCLicenseException is used when a licensed product attempts to obtain a license key from the installed set of keys and either cannot find its key or an error occurs retreiving the list of licenses.
ClassInvalidLoggingConfigException  
ClassLogger Logger is used by classes throughout First Choice .NET-based products to write logging entries.
ClassLogManager LogManager provides access to the logging subsystem so that classes and write log entries and allow those entries to be processed according to the application logging configuration.
ClassPerfManager Provides basic convenience services for instrumenting performance counters in an application
ClassStringUtil  
Interfaces
 InterfaceDescription
InterfaceIErrorMessageProvider The IErrorMessageProvider is the interface used by FCExceptionBase to allow other assemblies to provide custom error message resolution.
Enumerations
 EnumerationDescription
EnumerationDataProtectionStore DataProtectionStore is used with the DataProtector when encrypting or decrypting data. DataProtectionStore tells the DataProtector which key store to use.
EnumerationFCLicenseException.LoadFailReasons LoadFailReasons is used by FCLicenseException to provide a specific reason why license procurement failed for the product.
EnumerationLogLevel LogLevel is an enumeration of supported logging levels. This is used in conjunction with LogManager and Logger to control how log messages are filtered or written to the output appender.
Remarks
The FChoice.Common namespace is largely intended to be used by First Choice .NET products only. While public for your convenience, usage of any of these classes directly (except for Configuration or Logging) is discouraged.
See Also

Reference

FChoice.Common Assembly

 

 


© 2010 Dovetail Software, Inc. - All rights reserved.
- Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
- .NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.

Send comments on this topic.