Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

System.Runtime Namespaces

The System.Runtime namespaces contain types that support an application's interaction with the common language runtime, and types that enable features such as application data caching, advanced exception handling, application activation within application domains, COM interop, distributed applications, serialization and deserialization, and versioning. Additional namespaces enable compiler writers to specify attributes that affect the run-time behavior of the common language runtime, define a contract for reliability between a set of code and other code that takes a dependency on it, and implement a persistence provider for Windows Communication Foundation (WCF).

NamespaceDescription
System.RuntimeThe System.Runtime namespace contains advanced types that support diverse namespaces such as the System, Runtime, and the Security namespaces.
System.Runtime.CachingThe System.Runtime.Caching namespace contains types that let you implement caching in NET Framework applications.
System.Runtime.Caching.ConfigurationThe System.Runtime.Caching.Configuration namespace contains configuration handler classes for the .NET Framework caching feature.
System.Runtime.Caching.HostingThe types in the System.Runtime.Caching.Hosting namespace support .NET Framework hosting environments that use the caching features in ASP.NET.
System.Runtime.CompilerServicesThe System.Runtime.CompilerServices namespace provides functionality for compiler writers who use managed code to specify attributes in metadata that affect the run-time behavior of the common language runtime.
System.Runtime.ConstrainedExecutionThe System.Runtime.ConstrainedExecution namespace defines a set of types that enumerate and define a contract for reliability between the author of some code, and the developers who take a dependency on that code. The types in the System.Runtime.ConstrainedExecution namespace are intended for use in constrained execution regions (CERs).
System.Runtime.DurableInstancingThis namespace contains classes that are used by the Windows Communication Foundation (WCF) infrastructure to implement a persistence provider.
System.Runtime.ExceptionServicesThe System.Runtime.ExceptionServices namespace provides classes for advanced exception handling.
System.Runtime.HostingThe System.Runtime.Hosting namespace contains advanced types that are used in application activation within application domains.
System.Runtime.InteropServicesThe System.Runtime.InteropServices namespace provides a wide variety of members that support COM interop and platform invoke services. If you are unfamiliar with these services, see Interoperating with Unmanaged Code.
System.Runtime.InteropServices.ComTypesThe System.Runtime.InteropServices.ComTypes namespace contains methods that are defintions of COM functions for managed code. These functions replace the now-obsolete UCOM* methods in the System.Runtime.InteropServices namespace.
System.Runtime.InteropServices.CustomMarshalersProvides internal marshaling support for the .NET Framework.
System.Runtime.InteropServices.ExpandoThe System.Runtime.InteropServices.Expando namespace contains the IExpando interface which allows modification of an object by adding or removing its members.
System.Runtime.RemotingThe System.Runtime.Remoting namespace provides classes and interfaces that allow developers to create and configure distributed applications. Some of the more important classes of the System.Runtime.Remoting namespace are the RemotingConfiguration class, the RemotingServices class, and the ObjRef class.
System.Runtime.Remoting.ActivationThe System.Runtime.Remoting.Activation namespace provides classes and objects that support server and client activation of remote objects.
System.Runtime.Remoting.ChannelsThe System.Runtime.Remoting.Channels namespace contains classes that support and handle channels and channel sinks, which are used as the transport medium when a client calls a method on a remote object.
System.Runtime.Remoting.Channels.HttpThe System.Runtime.Remoting.Channels.Http namespace contains channels that use the HTTP protocol to transport messages and objects to and from remote locations. By default, the HTTP channels encode objects and method calls in SOAP format for transmission, but other encoding and decoding formatter sinks can be specified in the configuration properties of a channel. One of the most important classes of the System.Runtime.Remoting.Channels.Http namespace is the HttpChannel class.
System.Runtime.Remoting.Channels.IpcThe System.Runtime.Remoting.Channels.Ipc namespace defines a communication channel for remoting that uses the interprocess cmmunication (IPC) system of the Windows operating system. Because it does not use network communication, the IPC channel is much faster than the HTTP and TCP channels, but it can only be used for communication between application domains on the same physical computer.
System.Runtime.Remoting.Channels.TcpThe System.Runtime.Remoting.Channels.Tcp namespace contains channels that use the TCP protocol to transport messages and objects to and from remote locations. By default, the TCP channels encode objects and method calls in binary format for transmission, but other encoding and decoding formatter sinks can be specified in the configuration properties of a channel. One of the most important classes of the System.Runtime.Remoting.Channels.Tcp namespace is the TcpChannel class.
System.Runtime.Remoting.ContextsThe System.Runtime.Remoting.Contexts namespace contains objects that define the contexts all objects reside within. A context is an ordered sequence of properties that defines an environment for the objects within it. Contexts are created during the activation process for objects that are configured to require certain automatic services such synchronization, transactions, just-in-time (JIT) activation, security, and so on. Multiple objects can live inside a context.
System.Runtime.Remoting.LifetimeThe System.Runtime.Remoting.Lifetime namespace contains classes that manage the lifetime of remote objects.
System.Runtime.Remoting.MessagingThe System.Runtime.Remoting.Messaging namespace contains classes used to create and transmit messages. The remoting infrastructure uses messages to communicate with remote objects. Messages are used to transmit remote method calls, to activate remote objects, and to communicate information. A message object carries a set of named properties, including action identifiers, envoy information, and parameters. Some of the most important classes of the System.Runtime.Remoting.Messaging namespace are the AsyncResult class, the RemotingSurrogateSelector class, and the ReturnMessage class.
System.Runtime.Remoting.MetadataThe System.Runtime.Remoting.Metadata namespace contains classes and attributes that can be used to customize generation and processing of SOAP for objects and fields. The classes of this namespace can be used to indicate the SOAPAction header field, type output, XML element name, and the method XML namespace URI. This information is used by the SOAP serializer during SOAP generation and the Soapsuds Tool (Soapsuds.exe) during Web Services Description Language (WSDL) generation. The information specified by the attributes in this namespace can be used on the receiving end of the generated SOAP to customize processing of the remoted method calls and objects. One of the most important classes of the System.Runtime.Remoting.Metadata namespace is SoapAttribute class. The SoapAttribute class is nonfunctional, and can only be used as the base class for all the metadata attributes. For more information on the SOAPAction HTTP header field, see www.w3.org/tr/soap/#_Toc478383528.
System.Runtime.Remoting.Metadata.W3cXsd2001The System.Runtime.Remoting.Metadata.W3cXsd2001 namespace contains the XML Schema Definition (XSD) that was defined by the World Wide Web Consortium (W3C) in 2001. The XML Schema Part 2: Datatypes specification from W3C identifies format and behavior of various data types. This namespace contains wrapper classes for the data types that conform to the W3C specification. All date and time types conform to the ISO standards specification.
System.Runtime.Remoting.MetadataServicesThe System.Runtime.Remoting.MetadataServices namespace contains the classes that are used by the Soapsuds.exe command-line tool and the user code to convert metadata to and from XML schema for the remoting infrastructure. Some of the most important classes of this namespace are the SdlChannelSink class and the MetaData class.
System.Runtime.Remoting.ProxiesThe System.Runtime.Remoting.Proxies namespace contains classes that control and provide functionality for proxies. A proxy is a local object that is an image of a remote object. Proxies enable clients to access objects across remoting boundaries.
System.Runtime.Remoting.ServicesThe System.Runtime.Remoting.Services namespace contains service classes that provide functionality to the .NET Framework. One of the most important classes of this namespace is the TrackingServices class.
System.Runtime.SerializationThe System.Runtime.Serialization namespace contains classes that can be used for serializing and deserializing objects.
System.Runtime.Serialization.ConfigurationThe System.Runtime.Serialization.Configuration namespace contains classes used to read the values found in application configuration under system.xml.serialization section.
System.Runtime.Serialization.FormattersThe System.Runtime.Serialization.Formatters namespace provides common enumerations, interfaces, and classes that are used by serialization formatters.
System.Runtime.Serialization.Formatters.BinaryThe System.Runtime.Serialization.Formatters.Binary namespace contains the BinaryFormatter class, which can be used to serialize and deserialize objects in binary format.
System.Runtime.Serialization.Formatters.SoapThe System.Runtime.Serialization.Formatters.Soap namespace contains the SoapFormatter class, which can be used to serialize and deserialize objects in the SOAP format. When building applications that uses the types in this namespace, you must reference the System.Runtime.Serialization.Formatters.Soap.dll assembly.
System.Runtime.Serialization.JsonThe System.Runtime.Serialization namespace contains classes that can be used for serializing objects to JavaScript Object Notation (JSON) and deserializing objects from JSON.
System.Runtime.VersioningThe System.Runtime.Versioning namespace contains advanced types that support versioning in side by side implementations of the .NET Framework.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.