Rate This Content
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
System Namespace

  Switch on low bandwidth view

We were unable to locate this content in hi-in.

Here is the same content in en-us.

This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
System Namespace

Contains classes that allow you to match URIs against URI Templates and groups of URI Templates.

  ClassDescription
Public classAccessViolationException The exception that is thrown when there is an attempt to read or write protected memory.
Public classActivationContext Identifies the activation context for the current application. This class cannot be inherited.
Public classActivator Contains methods to create types of objects locally or remotely, or obtain references to existing remote objects. This class cannot be inherited.
Public classAppDomain Represents an application domain, which is an isolated environment where applications execute. This class cannot be inherited.
Public classAppDomainManager Provides a managed equivalent of an unmanaged host.
Public classAppDomainSetup Represents assembly binding information that can be added to an instance of AppDomain.
Public classAppDomainUnloadedException The exception that is thrown when an attempt is made to access an unloaded application domain.
Public classApplicationException The exception that is thrown when a non-fatal application error occurs.
Public classApplicationId Contains information used to uniquely identify a manifest-based application. This class cannot be inherited.
Public classApplicationIdentity Provides the ability to uniquely identify a manifest-activated application. This class cannot be inherited.
Public classArgumentException The exception that is thrown when one of the arguments provided to a method is not valid.
Public classArgumentNullException The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.
Public classArgumentOutOfRangeException The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.
Public classArithmeticException The exception that is thrown for errors in an arithmetic, casting, or conversion operation.
Public classArrayProvides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the base class for all arrays in the common language runtime.
Public classArrayTypeMismatchException The exception that is thrown when an attempt is made to store an element of the wrong type within an array.
Public classAssemblyLoadEventArgs Provides data for the AssemblyLoad event.
Public classAttribute Represents the base class for custom attributes.
Public classAttributeUsageAttribute Specifies the usage of another attribute class. This class cannot be inherited.
Public classBadImageFormatExceptionThe exception that is thrown when the file image of a dynamic link library (DLL) or an executable program is invalid.
Public classBitConverter Converts base data types to an array of bytes, and an array of bytes to base data types.
Public classBufferManipulates arrays of primitive types.
Public classCannotUnloadAppDomainException The exception that is thrown when an attempt to unload an application domain fails.
Public classCharEnumerator Supports iterating over a String object and reading its individual characters. This class cannot be inherited.
Public classCLSCompliantAttribute Indicates whether a program element is compliant with the Common Language Specification (CLS). This class cannot be inherited.
Public classConsoleRepresents the standard input, output, and error streams for console applications. This class cannot be inherited.
Public classConsoleCancelEventArgs Provides data for the Console..::.CancelKeyPress event. This class cannot be inherited.
Public classContextBoundObject Defines the base class for all context-bound classes.
Public classContextMarshalException Obsolete. The exception that is thrown when an attempt to marshal an object across a context boundary fails.
Public classContextStaticAttribute Indicates that the value of a static field is unique for a particular context.
Public classConvertConverts a base data type to another base data type.
Public classDataMisalignedException The exception that is thrown when a unit of data is read from or written to an address that is not a multiple of the data size. This class cannot be inherited.
Public classDBNull Represents a nonexistent value. This class cannot be inherited.
Public classDelegate Represents a delegate, which is a data structure that refers to a static method or to a class instance and an instance method of that class.
Public classDivideByZeroException The exception that is thrown when there is an attempt to divide an integral or decimal value by zero.
Public classDllNotFoundException The exception that is thrown when a DLL specified in a DLL import cannot be found.
Public classDuplicateWaitObjectException The exception that is thrown when an object appears more than once in an array of synchronization objects.
Public classEntryPointNotFoundException The exception that is thrown when an attempt to load a class fails due to the absence of an entry method.
Public classEnumProvides the base class for enumerations.
Public classEnvironmentProvides information about, and means to manipulate, the current environment and platform. This class cannot be inherited.
Public classEventArgs EventArgs is the base class for classes containing event data.
Public classException Represents errors that occur during application execution.
Public classExecutionEngineException The exception that is thrown when there is an internal error in the execution engine of the common language runtime. This class cannot be inherited.
Public classFieldAccessException The exception that is thrown when there is an invalid attempt to access a private or protected field inside a class.
Public classFileStyleUriParser A customizable parser based on the File scheme.
Public classFlagsAttribute Indicates that an enumeration can be treated as a bit field; that is, a set of flags.
Public classFormatException The exception that is thrown when the format of an argument does not meet the parameter specifications of the invoked method.
Public classFtpStyleUriParser A customizable parser based on the File Transfer Protocol (FTP) scheme.
Public classGC Controls the system garbage collector, a service that automatically reclaims unused memory.
Public classGenericUriParser A customizable parser for a hierarchical URI.
Public classGopherStyleUriParser A customizable parser based on the Gopher scheme.
Public classHttpStyleUriParser A customizable parser based on the HTTP scheme.
Public classIndexOutOfRangeException The exception that is thrown when an attempt is made to access an element of an array with an index that is outside the bounds of the array. This class cannot be inherited.
Public classInsufficientMemoryException The exception that is thrown when a check for sufficient available memory fails. This class cannot be inherited.
Public classInvalidCastException The exception that is thrown for invalid casting or explicit conversion.
Public classInvalidOperationException The exception that is thrown when a method call is invalid for the object's current state.
Public classInvalidProgramException The exception that is thrown when a program contains invalid Microsoft intermediate language (MSIL) or metadata. Generally this indicates a bug in the compiler that generated the program.
Public classInvalidTimeZoneException The exception that is thrown when time zone information is invalid.
Public classLdapStyleUriParser A customizable parser based on the Lightweight Directory Access Protocol (LDAP) scheme.
Public classLoaderOptimizationAttribute Used to set the default loader optimization policy for the main method of an executable application.
Public classLocalDataStoreSlot Encapsulates a memory slot to store local data. This class cannot be inherited.
Public classMarshalByRefObjectEnables access to objects across application domain boundaries in applications that support remoting.
Public classMathProvides constants and static methods for trigonometric, logarithmic, and other common mathematical functions.
Public classMemberAccessException The exception that is thrown when an attempt to access a class member fails.
Public classMethodAccessException The exception that is thrown when there is an invalid attempt to access a private or protected method inside a class.
Public classMissingFieldException The exception that is thrown when there is an attempt to dynamically access a field that does not exist.
Public classMissingMemberException The exception that is thrown when there is an attempt to dynamically access a class member that does not exist.
Public classMissingMethodException The exception that is thrown when there is an attempt to dynamically access a method that does not exist.
Public classMTAThreadAttribute Indicates that the COM threading model for an application is multithreaded apartment (MTA).
Public classMulticastDelegate Represents a multicast delegate; that is, a delegate that can have more than one element in its invocation list.
Public classMulticastNotSupportedException The exception that is thrown when there is an attempt to combine two delegates based on the Delegate type instead of the MulticastDelegate type. This class cannot be inherited.
Public classNetPipeStyleUriParser A parser based on the NetPipe scheme for the "Indigo" system.
Public classNetTcpStyleUriParser A parser based on the NetTcp scheme for the "Indigo" system.
Public classNewsStyleUriParser A customizable parser based on the news scheme using the Network News Transfer Protocol (NNTP).
Public classNonSerializedAttribute Indicates that a field of a serializable class should not be serialized. This class cannot be inherited.
Public classNotFiniteNumberException The exception that is thrown when a floating-point value is positive infinity, negative infinity, or Not-a-Number (NaN).
Public classNotImplementedExceptionThe exception that is thrown when a requested method or operation is not implemented.
Public classNotSupportedException The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality.
Public classNullable Supports a value type that can be assigned nullNothingnullptra null reference (Nothing in Visual Basic) like a reference type. This class cannot be inherited.
Public classNullReferenceException The exception that is thrown when there is an attempt to dereference a null object reference.
Public classObject Supports all classes in the .NET Framework class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy.
Public classObjectDisposedException The exception that is thrown when an operation is performed on a disposed object.
Public classObsoleteAttribute Marks the program elements that are no longer in use. This class cannot be inherited.
Public classOperatingSystem Represents information about an operating system, such as the version and platform identifier. This class cannot be inherited.
Public classOperationCanceledException The exception that is thrown in a thread upon cancellation of an operation that the thread was executing.
Public classOutOfMemoryException The exception that is thrown when there is not enough memory to continue the execution of a program.
Public classOverflowExceptionThe exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an overflow.
Public classParamArrayAttributeIndicates that the method will allow a variable number of arguments in its invocation. This class cannot be inherited.
Public classPlatformNotSupportedException The exception that is thrown when a feature does not run on a particular platform.
Public classRandomRepresents a pseudo-random number generator, a device that produces a sequence of numbers that meet certain statistical requirements for randomness.
Public classRankException The exception that is thrown when an array with the wrong number of dimensions is passed to a method.
Public classResolveEventArgs Provides data for the TypeResolve, ResourceResolve, and AssemblyResolve events.
Public classSerializableAttribute Indicates that a class can be serialized. This class cannot be inherited.
Public classStackOverflowException The exception that is thrown when the execution stack overflows because it contains too many nested method calls. This class cannot be inherited.
Public classSTAThreadAttribute Indicates that the COM threading model for an application is single-threaded apartment (STA).
Public classStringRepresents text as a series of Unicode characters.
Public classStringComparerRepresents a string comparison operation that uses specific case and culture-based or ordinal comparison rules.
Public classSystemException Defines the base class for predefined exceptions in the System namespace.
Public classThreadStaticAttribute Indicates that the value of a static field is unique for each thread.
Public classTimeoutException The exception that is thrown when the time allotted for a process or operation has expired.
Public classTimeZone Represents a time zone.
Public classTimeZoneInfoRepresents any time zone in the world.
Public classTimeZoneInfo..::.AdjustmentRuleProvides information about a time zone adjustment, such as the transition to and from daylight saving time.
Public classTimeZoneNotFoundException The exception that is thrown when a time zone cannot be found.
Public classTypeRepresents type declarations: class types, interface types, array types, value types, enumeration types, type parameters, generic type definitions, and open or closed constructed generic types.
Public classTypeInitializationException The exception that is thrown as a wrapper around the exception thrown by the class initializer. This class cannot be inherited.
Public classTypeLoadException The exception that is thrown when type-loading failures occur.
Public classTypeUnloadedException The exception that is thrown when there is an attempt to access an unloaded class.
Public classUnauthorizedAccessException The exception that is thrown when the operating system denies access because of an I/O error or a specific type of security error.
Public classUnhandledExceptionEventArgs Provides data for the event that is raised when there is an exception that is not handled in any application domain.
Public classUriProvides an object representation of a uniform resource identifier (URI) and easy access to the parts of the URI.
Public classUriBuilder Provides a custom constructor for uniform resource identifiers (URIs) and modifies URIs for the Uri class.
Public classUriFormatException The exception that is thrown when an invalid Uniform Resource Identifier (URI) is detected.
Public classUriParserParses a new URI scheme. This is an abstract class.
Public classUriTemplateA class that represents a Uniform Resource Identifier (URI) template.
Public classUriTemplateEquivalenceComparerA class used to compare UriTemplate instances for structural (instead of reference) equivalence.
Public classUriTemplateMatchA class that represents the results of a match operation on a UriTemplate instance.
Public classUriTemplateMatchExceptionRepresents an error when matching a Uri to a UriTemplateTable.
Public classUriTemplateTableA class that represents an associative set of UriTemplate objects.
Public classUriTypeConverter Converts a String type to a Uri type, and vice versa.
Public classValueType Provides the base class for value types.
Public classVersion Represents the version number for a common language runtime assembly. This class cannot be inherited.
Public classWeakReference Represents a weak reference, which references an object while still allowing that object to be reclaimed by garbage collection.
  StructureDescription
Public structureArgIterator Represents a variable-length argument list; that is, the parameters of a function that takes a variable number of arguments.
Public structureArraySegment<(Of <(T>)>) Delimits a section of a one-dimensional array.
Public structureBoolean Represents a Boolean value.
Public structureByteRepresents an 8-bit unsigned integer.
Public structureCharRepresents a Unicode character.
Public structureConsoleKeyInfo Describes the console key that was pressed, including the character represented by the console key and the state of the SHIFT, ALT, and CTRL modifier keys.
Public structureDateTimeRepresents an instant in time, typically expressed as a date and time of day.
Public structureDateTimeOffsetRepresents a point in time, typically expressed as a date and time of day, relative to Coordinated Universal Time (UTC).
Public structureDecimalRepresents a decimal number.
Public structureDoubleRepresents a double-precision floating-point number.
Public structureGuid Represents a globally unique identifier (GUID).
Public structureInt16Represents a 16-bit signed integer.
Public structureInt32Represents a 32-bit signed integer.
Public structureInt64Represents a 64-bit signed integer.
Public structureIntPtr A platform-specific type that is used to represent a pointer or a handle.
Public structureModuleHandleRepresents a runtime handle for a module.
Public structureNullable<(Of <(T>)>) Represents an object whose underlying type is a value type that can also be assigned nullNothingnullptra null reference (Nothing in Visual Basic) like a reference type.
Public structureRuntimeArgumentHandle References a variable-length argument list.
Public structureRuntimeFieldHandle Represents a field using an internal metadata token.
Public structureRuntimeMethodHandle RuntimeMethodHandle is a handle to the internal metadata representation of a method.
Public structureRuntimeTypeHandle Represents a type using an internal metadata token.
Public structureSByteRepresents an 8-bit signed integer.
Public structureSingleRepresents a single-precision floating-point number.
Public structureTimeSpanRepresents a time interval.
Public structureTimeZoneInfo..::.TransitionTimeProvides information about a specific time change, such as the change from daylight saving time to standard time or vice versa, in a particular time zone.
Public structureTypedReferenceDescribes objects that contain both a managed pointer to a location and a runtime representation of the type that may be stored at that location.
Public structureUInt16Represents a 16-bit unsigned integer.
Public structureUInt32Represents a 32-bit unsigned integer.
Public structureUInt64Represents a 64-bit unsigned integer.
Public structureUIntPtr A platform-specific type that is used to represent a pointer or a handle.
Public structureVoid Specifies a return value type for a method that does not return a value.
  InterfaceDescription
Public interface_AppDomain Exposes the public members of the System..::.AppDomain class to unmanaged code.
Public interfaceIAppDomainSetup Represents assembly binding information that can be added to an instance of AppDomain.
Public interfaceIAsyncResult Represents the status of an asynchronous operation.
Public interfaceICloneable Supports cloning, which creates a new instance of a class with the same value as an existing instance.
Public interfaceIComparable Defines a generalized type-specific comparison method that a value type or class implements to order or sort its instances.
Public interfaceIComparable<(Of <(T>)>) Defines a generalized comparison method that a value type or class implements to create a type-specific comparison method for ordering instances.
Public interfaceIConvertibleDefines methods that convert the value of the implementing reference or value type to a common language runtime type that has an equivalent value.
Public interfaceICustomFormatterDefines a method that supports custom formatting of the value of an object.
Public interfaceIDisposableDefines a method to release allocated resources.
Public interfaceIEquatable<(Of <(T>)>) Defines a generalized method that a value type or class implements to create a type-specific method for determining equality of instances.
Public interfaceIFormatProviderProvides a mechanism for retrieving an object to control formatting.
Public interfaceIFormattableProvides functionality to format the value of an object into a string representation.
Public interfaceIServiceProvider Defines a mechanism for retrieving a service object; that is, an object that provides custom support to other objects.
  DelegateDescription
Public delegateActionEncapsulates a method that takes no parameters and does not return a value.
Public delegateAction<(Of <(T>)>)Encapsulates a method that takes a single parameter and does not return a value.
Public delegateAction<(Of <(T1, T2>)>)Encapsulates a method that has two parameters and does not return a value.
Public delegateAction<(Of <(T1, T2, T3>)>)Encapsulates a method that takes three parameters and does not return a value.
Public delegateAction<(Of <(T1, T2, T3, T4>)>)Encapsulates a method that has four parameters and does not return a value.
Public delegateAppDomainInitializer Represents the callback method to invoke when the application domain is initialized.
Public delegateAssemblyLoadEventHandler Represents the method that handles the AssemblyLoad event of an AppDomain.
Public delegateAsyncCallback References a method to be called when a corresponding asynchronous operation completes.
Public delegateComparison<(Of <(T>)>) Represents the method that compares two objects of the same type.
Public delegateConsoleCancelEventHandler Represents the method that will handle the CancelKeyPress event of a System..::.Console.
Public delegateConverter<(Of <(TInput, TOutput>)>) Represents a method that converts an object from one type to another type.
Public delegateCrossAppDomainDelegate Used by DoCallBack for cross-application domain calls.
Public delegateEventHandler Represents the method that will handle an event that has no event data.
Public delegateEventHandler<(Of <(TEventArgs>)>) Represents the method that will handle an event.
Public delegateFunc<(Of <(TResult>)>) Encapsulates a method that has no parameters and returns a value of the type specified by the TResult parameter.
Public delegateFunc<(Of <(T, TResult>)>) Encapsulates a method that has one parameter and returns a value of the type specified by the TResult parameter.
Public delegateFunc<(Of <(T1, T2, TResult>)>) Encapsulates a method that has two parameters and returns a value of the type specified by the TResult parameter.
Public delegateFunc<(Of <(T1, T2, T3, TResult>)>) Encapsulates a method that has three parameters and returns a value of the type specified by the TResult parameter.
Public delegateFunc<(Of <(T1, T2, T3, T4, TResult>)>) Encapsulates a method that has four parameters and returns a value of the type specified by the TResult parameter.
Public delegatePredicate<(Of <(T>)>) Represents the method that defines a set of criteria and determines whether the specified object meets those criteria.
Public delegateResolveEventHandler Represents the method that handles the TypeResolve, ResourceResolve, and AssemblyResolve events of an AppDomain.
Public delegateUnhandledExceptionEventHandler Represents the method that will handle the event raised by an exception that is not handled by the application domain.
  EnumerationDescription
Public enumerationActivationContext..::.ContextForm Indicates the context for a manifest-activated application.
Public enumerationAppDomainManagerInitializationOptions Specifies the action that a custom application domain manager takes when initializing a new domain.
Public enumerationAttributeTargets Specifies the application elements on which it is valid to apply an attribute.
Public enumerationBase64FormattingOptions Specifies whether relevant Convert..::.ToBase64CharArray and Convert..::.ToBase64String methods insert line breaks in their output.
Public enumerationConsoleColor Specifies constants that define foreground and background colors for the console.
Public enumerationConsoleKey Specifies the standard keys on a console.
Public enumerationConsoleModifiers Represents the SHIFT, ALT, and CTRL modifier keys on a keyboard.
Public enumerationConsoleSpecialKey Specifies combinations of modifier and console keys that can interrupt the current process.
Public enumerationDateTimeKindSpecifies whether a DateTime object represents a local time, a Coordinated Universal Time (UTC), or is not specified as either local time or UTC.
Public enumerationDayOfWeek Specifies the day of the week.
Public enumerationEnvironment..::.SpecialFolder Specifies enumerated constants used to retrieve directory paths to system special folders.
Public enumerationEnvironmentVariableTarget Specifies the location where an environment variable is stored or retrieved in a set or get operation.
Public enumerationGCCollectionMode Specifies the behavior for a forced garbage collection.
Public enumerationGCNotificationStatus Provides information about the current registration for notification of the next full garbage collection.
Public enumerationGenericUriParserOptions Specifies options for a UriParser.
Public enumerationLoaderOptimization An enumeration used with the LoaderOptimizationAttribute class to specify loader optimizations for an executable.
Public enumerationMidpointRounding Specifies how mathematical rounding methods should process a number that is midway between two numbers.
Public enumerationPlatformID Identifies the operating system, or platform, supported by an assembly.
Public enumerationStringComparison Specifies the culture, case, and sort rules to be used by certain overloads of the String..::.Compare and String..::.Equals methods.
Public enumerationStringSplitOptions Specifies whether applicable String..::.Split method overloads include or omit empty substrings from the return value.
Public enumerationTypeCode Specifies the type of an object.
Public enumerationUriComponents Specifies the parts of a Uri.
Public enumerationUriFormat Controls how URI information is escaped.
Public enumerationUriHostNameType Defines host name types for the Uri..::.CheckHostName method.
Public enumerationUriIdnScope Provides the possible values for the configuration setting of the System.Configuration..::.IdnElement in the System.Configuration namespace.
Public enumerationUriKind Defines the kinds of Uris for the Uri..::.IsWellFormedUriString(String, UriKind) and several Uri..::.Uri methods.
Public enumerationUriPartial Defines the parts of a URI for the Uri..::.GetLeftPart method.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
See Also: Generic Delegates to be used with Anonymous Methods      Sina Iravanian ... transwikimoderator   |   Edit   |   Show History

There are some named generic delegates that promote readability, especially when used along with anonymous methods. Here's a list of such delegates which reside in the System namespace:

Action: http://msdn.microsoft.com/en-us/library/system.action.aspx
Action<T>: http://msdn.microsoft.com/en-us/library/018hxwa8.aspx
Action<T1, T2>: http://msdn.microsoft.com/en-us/library/bb549311.aspx
Action<T1, T2, T3>: http://msdn.microsoft.com/en-us/library/bb549392.aspx
Action<T1, T2, T3, T4>:http://msdn.microsoft.com/en-us/library/bb548654.aspx
Represent a method that performs an action (on the specified object(s)). This set of delegates accept 0-4 parameters and return void (as the name suggests).

Func<TResult>: http://msdn.microsoft.com/en-us/library/bb534960.aspx
Func<T, TResult>: http://msdn.microsoft.com/en-us/library/bb549151.aspx
Func<T1, T2, TResult>: http://msdn.microsoft.com/en-us/library/bb534647.aspx
Func<T1, T2, T3, TResult>: http://msdn.microsoft.com/en-us/library/bb549430.aspx
Func<T1, T2, T3, T4, TResult>:http://msdn.microsoft.com/en-us/library/bb534303.aspx
Encapsulate a method that has 0-4 parameters and returns a value of the type specified by the TResult parameter.

Comparison<T>:http://msdn.microsoft.com/en-us/library/tfakywbh.aspx
Represents the method that compares two objects of the same type. Accepts two parameters of type T and returns an int.

Converter<TInput, TOutput>:http://msdn.microsoft.com/en-us/library/kt456a2y.aspx
Represents a method that converts an object from one type to another type. Accepts a parameter of type TInput and returns a TOutput.

Predicate<T>:http://msdn.microsoft.com/en-us/library/bfcke1bz.aspx
Represents the method that defines a set of criteria and determines whether the specified object meets those criteria. Accepts a parameter of type T and returns bool (as the name suggests).

Tags What's this?: roll (x) see (x) Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker