System
MSDN Home
MSDN
MSDN Library
.NET 开发
先前版本
.NET Framework SDK 2.0
Class Library Reference
System
_AppDomain 接口
AccessViolationException 类
Action 泛型委托
ActivationContext 类
ActivationContext.ContextForm ...
Activator 类
AppDomain 类
AppDomainInitializer 委托
AppDomainManager 类
AppDomainManagerInitialization ...
AppDomainSetup 类
AppDomainUnloadedException 类
ApplicationException 类
ApplicationId 类
ApplicationIdentity 类
ArgIterator 结构
ArgumentException 类
ArgumentNullException 类
ArgumentOutOfRangeException 类
ArithmeticException 类
Array 类
ArraySegment 泛型结构
ArrayTypeMismatchException 类
AssemblyLoadEventArgs 类
AssemblyLoadEventHandler 委托
AsyncCallback 委托
Attribute 类
AttributeTargets 枚举
AttributeUsageAttribute 类
BadImageFormatException 类
Base64FormattingOptions 枚举
BitConverter 类
Boolean 结构
Buffer 类
Byte 结构
CannotUnloadAppDomainException ...
Char 结构
CharEnumerator 类
CLSCompliantAttribute 类
Comparison 泛型委托
Console 类
ConsoleCancelEventArgs 类
ConsoleCancelEventHandler 委托
ConsoleColor 枚举
ConsoleKey 枚举
ConsoleKeyInfo 结构
ConsoleModifiers 枚举
ConsoleSpecialKey 枚举
ContextBoundObject 类
ContextMarshalException 类
ContextStaticAttribute 类
Convert 类
Converter 泛型委托
CrossAppDomainDelegate 委托
DataMisalignedException 类
DateTime 结构
DateTimeKind 枚举
DayOfWeek 枚举
DBNull 类
Decimal 结构
Delegate 类
DivideByZeroException 类
DllNotFoundException 类
Double 结构
DuplicateWaitObjectException 类
EntryPointNotFoundException 类
Enum 结构
Environment 类
Environment.SpecialFolder 枚举
EnvironmentVariableTarget 枚举
EventArgs 类
EventHandler 委托
EventHandler 泛型委托
Exception 类
ExecutionEngineException 类
FieldAccessException 类
FileStyleUriParser 类
FlagsAttribute 类
FormatException 类
FtpStyleUriParser 类
GC 类
GenericUriParser 类
GenericUriParserOptions 枚举
GopherStyleUriParser 类
Guid 结构
HttpStyleUriParser 类
IAppDomainSetup 接口
IAsyncResult 接口
ICloneable 接口
IComparable 接口
IComparable 泛型接口
IConvertible 接口
ICustomFormatter 接口
IDisposable 接口
IEquatable 泛型接口
IFormatProvider 接口
IFormattable 接口
IndexOutOfRangeException 类
InsufficientMemoryException 类
Int16 结构
Int32 结构
Int64 结构
IntPtr 结构
InvalidCastException 类
InvalidOperationException 类
InvalidProgramException 类
IServiceProvider 接口
LdapStyleUriParser 类
LoaderOptimization 枚举
LoaderOptimizationAttribute 类
LocalDataStoreSlot 类
MarshalByRefObject 类
Math 类
MemberAccessException 类
MethodAccessException 类
MidpointRounding 枚举
MissingFieldException 类
MissingMemberException 类
MissingMethodException 类
ModuleHandle 结构
MTAThreadAttribute 类
MulticastDelegate 类
MulticastNotSupportedException ...
NetPipeStyleUriParser 类
NetTcpStyleUriParser 类
NewsStyleUriParser 类
NonSerializedAttribute 类
NotFiniteNumberException 类
NotImplementedException 类
NotSupportedException 类
Nullable 类
Nullable 泛型结构
NullReferenceException 类
Object 类
ObjectDisposedException 类
ObsoleteAttribute 类
OperatingSystem 类
OperationCanceledException 类
OutOfMemoryException 类
OverflowException 类
ParamArrayAttribute 类
PlatformID 枚举
PlatformNotSupportedException ...
Predicate 泛型委托
Random 类
RankException 类
ResolveEventArgs 类
ResolveEventHandler 委托
RuntimeArgumentHandle 结构
RuntimeFieldHandle 结构
RuntimeMethodHandle 结构
RuntimeTypeHandle 结构
SByte 结构
SerializableAttribute 类
Single 结构
StackOverflowException 类
STAThreadAttribute 类
String 类
StringComparer 类
StringComparison 枚举
StringSplitOptions 枚举
SystemException 类
ThreadStaticAttribute 类
TimeoutException 类
TimeSpan 结构
TimeZone 类
Type 类
TypeCode 枚举
TypedReference 结构
TypeInitializationException 类
TypeLoadException 类
TypeUnloadedException 类
UInt16 结构
UInt32 结构
UInt64 结构
UIntPtr 结构
UnauthorizedAccessException 类
UnhandledExceptionEventArgs 类
UnhandledExceptionEventHandler ...
Uri 类
UriBuilder 类
UriComponents 枚举
UriFormat 枚举
UriFormatException 类
UriHostNameType 枚举
UriKind 枚举
UriParser 类
UriPartial 枚举
UriTypeConverter 类
ValueType 类
Version 类
Void 结构
WeakReference 类
Class Library Reference
( Default Namespace )
Accessibility
IEHost.Execute
Microsoft.Aspnet.Snapin
Microsoft.Build.BuildEngine
Microsoft.Build.Framework
Microsoft.Build.Tasks
Microsoft.Build.Tasks.Deployme ...
Microsoft.Build.Tasks.Deployme ...
Microsoft.Build.Tasks.Hosting
Microsoft.Build.Utilities
Microsoft.CLRAdmin
Microsoft.CSharp
Microsoft.IE
Microsoft.JScript
Microsoft.JScript.Vsa
Microsoft.SqlServer.Server
Microsoft.VisualBasic
Microsoft.VisualBasic.Applicat ...
Microsoft.VisualBasic.Compiler ...
Microsoft.VisualBasic.Devices
Microsoft.VisualBasic.FileIO
Microsoft.VisualBasic.Logging
Microsoft.VisualBasic.MyServic ...
Microsoft.VisualBasic.MyServic ...
Microsoft.VisualBasic.Vsa
Microsoft.VisualC
Microsoft.Vsa
Microsoft.Vsa.Vb.CodeDOM
Microsoft.Win32
Microsoft.Win32.SafeHandles
Microsoft.WindowsCE.Forms
Microsoft.WindowsMobile.Direct ...
Microsoft.WindowsMobile.Direct ...
Microsoft_VsaVb
System
System.CodeDom
System.CodeDom.Compiler
System.Collections
System.Collections.Generic
System.Collections.ObjectModel
System.Collections.Specialized
System.ComponentModel
System.ComponentModel.Design
System.ComponentModel.Design.D ...
System.ComponentModel.Design.S ...
System.Configuration
System.Configuration.Assemblie ...
System.Configuration.Install
System.Configuration.Internal
System.Configuration.Provider
System.Data
System.Data.Common
System.Data.Design
System.Data.Odbc
System.Data.OleDb
System.Data.OracleClient
System.Data.Sql
System.Data.SqlClient
System.Data.SqlServerCe
System.Data.SqlTypes
System.Deployment.Application
System.Deployment.Internal
System.Diagnostics
System.Diagnostics.CodeAnalysi ...
System.Diagnostics.Design
System.Diagnostics.SymbolStore
System.DirectoryServices
System.DirectoryServices.Activ ...
System.DirectoryServices.Proto ...
System.Drawing
System.Drawing.Design
System.Drawing.Drawing2D
System.Drawing.Imaging
System.Drawing.Printing
System.Drawing.Text
System.EnterpriseServices
System.EnterpriseServices.Comp ...
System.EnterpriseServices.Inte ...
System.Globalization
System.IO
System.IO.Compression
System.IO.IsolatedStorage
System.IO.Ports
System.Management
System.Management.Instrumentat ...
System.Media
System.Messaging
System.Messaging.Design
System.Net
System.Net.Cache
System.Net.Configuration
System.Net.Mail
System.Net.Mime
System.Net.NetworkInformation
System.Net.Security
System.Net.Sockets
System.Reflection
System.Reflection.Emit
System.Resources
System.Resources.Tools
System.Runtime
System.Runtime.CompilerService ...
System.Runtime.ConstrainedExec ...
System.Runtime.Hosting
System.Runtime.InteropServices
System.Runtime.InteropServices ...
System.Runtime.InteropServices ...
System.Runtime.InteropServices ...
System.Runtime.Remoting
System.Runtime.Remoting.Activa ...
System.Runtime.Remoting.Channe ...
System.Runtime.Remoting.Channe ...
System.Runtime.Remoting.Channe ...
System.Runtime.Remoting.Channe ...
System.Runtime.Remoting.Contex ...
System.Runtime.Remoting.Lifeti ...
System.Runtime.Remoting.Messag ...
System.Runtime.Remoting.Metada ...
System.Runtime.Remoting.Metada ...
System.Runtime.Remoting.Metada ...
System.Runtime.Remoting.Proxie ...
System.Runtime.Remoting.Servic ...
System.Runtime.Serialization
System.Runtime.Serialization.F ...
System.Runtime.Serialization.F ...
System.Runtime.Serialization.F ...
System.Runtime.Versioning
System.Security
System.Security.AccessControl
System.Security.Authentication
System.Security.Cryptography
System.Security.Cryptography.P ...
System.Security.Cryptography.X ...
System.Security.Cryptography.X ...
System.Security.Permissions
System.Security.Policy
System.Security.Principal
System.ServiceProcess
System.ServiceProcess.Design
System.Text
System.Text.RegularExpressions
System.Threading
System.Timers
System.Transactions
System.Transactions.Configurat ...
System.Web
System.Web.Caching
System.Web.Compilation
System.Web.Configuration
System.Web.Configuration.Inter ...
System.Web.Handlers
System.Web.Hosting
System.Web.Mail
System.Web.Management
System.Web.Mobile
System.Web.Profile
System.Web.RegularExpressions
System.Web.Security
System.Web.Services
System.Web.Services.Configurat ...
System.Web.Services.Descriptio ...
System.Web.Services.Discovery
System.Web.Services.Protocols
System.Web.SessionState
System.Web.UI
System.Web.UI.Adapters
System.Web.UI.Design
System.Web.UI.Design.MobileCon ...
System.Web.UI.Design.MobileCon ...
System.Web.UI.Design.WebContro ...
System.Web.UI.Design.WebContro ...
System.Web.UI.HtmlControls
System.Web.UI.MobileControls
System.Web.UI.MobileControls.A ...
System.Web.UI.MobileControls.A ...
System.Web.UI.WebControls
System.Web.UI.WebControls.Adap ...
System.Web.UI.WebControls.WebP ...
System.Web.Util
System.Windows.Forms
System.Windows.Forms.Component ...
System.Windows.Forms.Design
System.Windows.Forms.Design.Be ...
System.Windows.Forms.Layout
System.Windows.Forms.PropertyG ...
System.Windows.Forms.VisualSty ...
System.Xml
System.Xml.Schema
System.Xml.Serialization
System.Xml.Serialization.Advan ...
System.Xml.Serialization.Confi ...
System.Xml.XPath
System.Xml.Xsl
System.Xml.Xsl.Runtime
System.ServiceModel
System.ServiceModel.Activation
System.ServiceModel.Activation ...
System.ServiceModel.Channels
System.ServiceModel.ComIntegra ...
System.ServiceModel.Configurat ...
System.ServiceModel.Descriptio ...
System.ServiceModel.Diagnostic ...
System.ServiceModel.Dispatcher
System.ServiceModel.Install.Co ...
System.ServiceModel.Internal
System.ServiceModel.MsmqIntegr ...
System.ServiceModel.PeerResolv ...
System.ServiceModel.Security
System.ServiceModel.Security.T ...
System.ServiceProcess
System.ServiceProcess.Design
System.Speech.AudioFormat
System.Speech.Recognition
System.Speech.Recognition.Srgs ...
System.Speech.Synthesis
System.Speech.Synthesis.TtsEng ...
System.Text
System.Text.RegularExpressions
System.Threading
System.Timers
System.Transactions
System.Transactions.Configurat ...
System.Web
System.Web.Caching
System.Web.Compilation
System.Web.Configuration
System.Web.Configuration.Inter ...
System.Web.Handlers
System.Web.Hosting
System.Web.Mail
System.Web.Management
System.Web.Mobile
System.Web.Profile
System.Web.RegularExpressions
System.Web.Security
System.Web.Services
System.Web.Services.Configurat ...
System.Web.Services.Descriptio ...
System.Web.Services.Discovery
System.Web.Services.Protocols
System.Web.SessionState
System.Web.UI
System.Web.UI.Adapters
System.Web.UI.Design
System.Web.UI.Design.MobileCon ...
System.Web.UI.Design.MobileCon ...
System.Web.UI.Design.WebContro ...
System.Web.UI.Design.WebContro ...
System.Web.UI.HtmlControls
System.Web.UI.MobileControls
System.Web.UI.MobileControls.A ...
System.Web.UI.MobileControls.A ...
System.Web.UI.WebControls
System.Web.UI.WebControls.Adap ...
System.Web.UI.WebControls.WebP ...
System.Web.Util
System.Windows
System.Windows.Annotations
System.Windows.Annotations.Sto ...
System.Windows.Automation
System.Windows.Automation.Peer ...
System.Windows.Automation.Prov ...
System.Windows.Automation.Text
System.Windows.Controls
System.Windows.Controls.Primit ...
System.Windows.Converters
System.Windows.Data
System.Windows.Documents
System.Windows.Documents.Docum ...
System.Windows.Documents.Seria ...
System.Windows.Forms
System.Windows.Forms.Component ...
System.Windows.Forms.Design
System.Windows.Forms.Design.Be ...
System.Windows.Forms.Integrati ...
System.Windows.Forms.Layout
System.Windows.Forms.PropertyG ...
System.Windows.Forms.VisualSty ...
System.Windows.Ink
System.Windows.Ink.AnalysisCor ...
System.Windows.Input
System.Windows.Input.StylusPlu ...
System.Windows.Interop
System.Windows.Markup
System.Windows.Markup.Localize ...
System.Windows.Markup.Primitiv ...
System.Windows.Media
System.Windows.Media.Animation
System.Windows.Media.Converter ...
System.Windows.Media.Effects
System.Windows.Media.Imaging
System.Windows.Media.Media3D
System.Windows.Media.Media3D.C ...
System.Windows.Media.TextForma ...
System.Windows.Navigation
System.Windows.Resources
System.Windows.Shapes
System.Windows.Threading
System.Windows.Xps
System.Windows.Xps.Packaging
System.Windows.Xps.Serializati ...
System.Workflow.Activities
System.Workflow.Activities.Con ...
System.Workflow.Activities.Rul ...
System.Workflow.Activities.Rul ...
System.Workflow.ComponentModel
System.Workflow.ComponentModel ...
System.Workflow.ComponentModel ...
System.Workflow.ComponentModel ...
System.Workflow.Runtime
System.Workflow.Runtime.Config ...
System.Workflow.Runtime.DebugE ...
System.Workflow.Runtime.Hostin ...
System.Workflow.Runtime.Tracki ...
System.Xml
System.Xml.Schema
System.Xml.Serialization
System.Xml.Serialization.Advan ...
System.Xml.Serialization.Confi ...
System.Xml.XPath
System.Xml.Xsl
System.Xml.Xsl.Runtime
UIAutomationClientsideProvider ...
切换视图 :
经典视图
轻量型视图
无脚本视图
反馈
.NET Framework 类库
System 命名空间
System
命名空间包含基本类和基类,这些类定义常用的值和引用数据类型、事件和事件处理程序、接口、属性和异常处理。
其他类提供的服务支持数据类型转换、方法参数操作、数学运算、远程和本地程序调用、应用程序环境管理和对托管与非托管应用程序的监控。
类
类
说明
AccessViolationException
在试图读写受保护内存时引发的异常。
ActivationContext
标识当前应用程序的激活上下文。无法继承此类。
Activator
包含特定的方法,用以在本地或从远程创建对象类型,或获取对现有远程对象的引用。无法继承此类。
AppDomain
表示应用程序域,它是一个应用程序在其中执行的独立环境。无法继承此类。
AppDomainManager
提供非托管宿主的等效托管宿主。
AppDomainSetup
表示可以添加到
AppDomain
的实例的程序集绑定信息。
AppDomainUnloadedException
在尝试访问已卸载的应用程序域时引发的异常。
ApplicationException
发生非致命应用程序错误时引发的异常。
ApplicationId
包含用于唯一地标识某个应用程序的信息。无法继承此类。
ApplicationIdentity
提供唯一标识清单激活的应用程序的能力。无法继承此类。
ArgumentException
在向方法提供的其中一个参数无效时引发的异常。
ArgumentNullException
当将空引用(在 Visual Basic 中为
Nothing
)传递给不接受它作为有效参数的方法时引发的异常。
ArgumentOutOfRangeException
当参数值超出调用的方法所定义的允许取值范围时引发的异常。
ArithmeticException
因算术运算、类型转换或转换操作中的错误而引发的异常。
Array
提供创建、操作、搜索和排序数组的方法,因而在公共语言运行库中用作所有数组的基类。
ArrayTypeMismatchException
当试图在数组中存储类型不正确的元素时引发的异常。
AssemblyLoadEventArgs
为
AssemblyLoad
事件提供数据。
Attribute
表示自定义属性的基类。
AttributeUsageAttribute
指定另一属性类的用法。无法继承此类。
BadImageFormatException
当 DLL 或可执行程序的文件图像无效时引发的异常。
BitConverter
将基础数据类型与字节数组相互转换。
Buffer
操作基元类型的数组。
CannotUnloadAppDomainException
卸载应用程序域的尝试失败时引发的异常。
CharEnumerator
支持循环访问
String
对象并读取它的各个字符。无法继承此类。
CLSCompliantAttribute
指示程序元素是否符合公共语言规范 (CLS)。无法继承此类。
Console
表示控制台应用程序的标准输入流、输出流和错误流。无法继承此类。
ConsoleCancelEventArgs
为
Console.CancelKeyPress
事件提供数据。无法继承此类。
ContextBoundObject
定义所有上下文绑定类的基类。
ContextMarshalException
在尝试将对象封送过上下文边界失败时引发的异常。
ContextStaticAttribute
指示静态字段的值是特定上下文的唯一值。
Convert
将一个基本数据类型转换为另一个基本数据类型。
DataMisalignedException
在从不是数据大小倍数的地址读取数据单元或将数据单元写入此类地址时引发的异常。无法继承此类。
DBNull
表示空值。
Delegate
表示委托,委托是一种数据结构,它引用静态方法或引用类实例及该类的实例方法。
DivideByZeroException
试图用零除整数值或十进制数值时引发的异常。
DllNotFoundException
当未找到在 DLL 导入中指定的 DLL 时所引发的异常。
DuplicateWaitObjectException
当对象在同步对象数组中不止一次出现时引发的异常。
EntryPointNotFoundException
因不存在项方法而导致加载类的尝试失败时引发的异常。
Environment
提供有关当前环境和平台的信息以及操作它们的方法。无法继承此类。
EventArgs
EventArgs
是包含事件数据的类的基类。
Exception
表示在应用程序执行期间发生的错误。
ExecutionEngineException
当公共语言运行库的执行引擎中发生内部错误时引发的异常。无法继承此类。
FieldAccessException
当试图非法访问类中的私有字段或受保护字段时引发的异常。
FileStyleUriParser
基于 File 方案的可自定义分析器。
FlagsAttribute
指示可以将枚举作为位域(即一组标志)处理。
FormatException
当参数格式不符合调用的方法的参数规范时引发的异常。
FtpStyleUriParser
基于文件传输协议 (FTP) 方案的可自定义分析器。
GC
控制系统垃圾回收器(一种自动回收未使用内存的服务)。
GenericUriParser
用于分层 URI 的可自定义分析器。
GopherStyleUriParser
基于 Gopher 方案的可自定义分析器。
HttpStyleUriParser
基于 HTTP 方案的可自定义分析器。
IndexOutOfRangeException
试图访问索引超出数组界限的数组元素时引发的异常。无法继承此类。
InsufficientMemoryException
当检测到没有足够的可用内存时引发的异常。无法继承此类。
InvalidCastException
因无效类型转换或显式转换引发的异常。
InvalidOperationException
当方法调用对于对象的当前状态无效时引发的异常。
InvalidProgramException
当程序包含无效 Microsoft 中间语言 (MSIL) 或元数据时将引发的异常。这通常表示生成程序的编译器中有 bug。
LdapStyleUriParser
基于 轻型目录访问协议 (LDAP) 方案的可自定义分析器。
LoaderOptimizationAttribute
用于为可执行应用程序的主方法设置默认的加载程序优化策略。
LocalDataStoreSlot
封装内存槽以存储本地数据。无法继承此类。
MarshalByRefObject
允许在支持远程处理的应用程序中跨应用程序域边界访问对象。
Math
为三角函数、对数函数和其他通用数学函数提供常数和静态方法。
MemberAccessException
访问类成员的尝试失败时引发的异常。
MethodAccessException
非法尝试访问类中的私有方法或受保护的方法时引发的异常。
MissingFieldException
试图动态访问不存在的字段时引发的异常。
MissingMemberException
试图动态访问不存在的类成员时引发的异常。
MissingMethodException
试图动态访问不存在的方法时引发的异常。
MTAThreadAttribute
指示应用程序的 COM 线程模型为多线程单元 (MTA)。
MulticastDelegate
表示多路广播委托;即,其调用列表中可以拥有多个元素的委托。
MulticastNotSupportedException
尝试组合两个基于
Delegate
类型而非
MulticastDelegate
类型的委托时引发的异常。无法继承此类。
NetPipeStyleUriParser
基于“Indigo”系统的 NetPipe 方案的分析器。
NetTcpStyleUriParser
基于“Indigo”系统的 NetTcp 方案的分析器。
NewsStyleUriParser
基于使用网络新闻传输协议 (NNTP) 的新闻方案的可自定义分析器。
NonSerializedAttribute
指示可序列化类的某个字段不应被序列化。无法继承此类。
NotFiniteNumberException
当浮点值为正无穷大、负无穷大或非数字 (NaN) 时引发的异常。
NotImplementedException
在无法实现请求的方法或操作时引发的异常。
NotSupportedException
当调用的方法不受支持,或试图读取、查找或写入不支持调用功能的流时引发的异常。
Nullable
支持可为其分配 空引用(在 Visual Basic 中为 Nothing) 的值类型,如引用类型。无法继承此类。
NullReferenceException
尝试取消引用空对象引用时引发的异常。
Object
支持 .NET Framework 类层次结构中的所有类,并为派生类提供低级别服务。这是 .NET Framework 中所有类的最终基类;它是类型层次结构的根。
ObjectDisposedException
对已释放的对象执行操作时所引发的异常。
ObsoleteAttribute
标记不再使用的程序元素。无法继承此类。
OperatingSystem
表示有关操作系统的信息,如版本和平台标识符。无法继承此类。
OperationCanceledException
取消线程正在执行的操作时在线程中引发的异常。
OutOfMemoryException
没有足够的内存继续执行程序时引发的异常。
OverflowException
在选中的上下文中所进行的算术运算、类型转换或转换操作导致溢出时引发的异常。
ParamArrayAttribute
指示方法在调用中将允许参数的数目可变。无法继承此类。
PlatformNotSupportedException
当功能未在特定平台上运行时所引发的异常。
Random
表示伪随机数生成器,一种能够产生满足某些随机性统计要求的数字序列的设备。
RankException
将维数错误的数组传递给方法时引发的异常。
ResolveEventArgs
为
TypeResolve
、
ResourceResolve
和
AssemblyResolve
事件提供数据。
SerializableAttribute
指示一个类可以序列化。无法继承此类。
StackOverflowException
因包含的嵌套方法调用过多而导致执行堆栈溢出时引发的异常。无法继承此类。
STAThreadAttribute
指示应用程序的 COM 线程模型是单线程单元 (STA)。
String
表示文本,即一系列 Unicode 字符。
StringComparer
表示一种字符串比较操作,该操作使用特定的大小写以及基于区域性的比较规则或序号比较规则。
SystemException
为
System
命名空间中的预定义异常定义基类。
ThreadStaticAttribute
指示静态字段的值对于每个线程都是唯一的。
TimeoutException
给进程或操作分配的时间过期时引发的异常。
TimeZone
表示时区。
Type
表示类型声明:类类型、接口类型、数组类型、值类型、枚举类型、类型参数、泛型类型定义,以及开放或封闭构造的泛型类型。
TypeInitializationException
作为由类初始值设定项引发的异常周围的包装引发的异常。无法继承此类。
TypeLoadException
类型加载失败发生时引发的异常。
TypeUnloadedException
试图访问已卸载的类时引发的异常。
UnauthorizedAccessException
当操作系统因 I/O 错误或指定类型的安全错误而拒绝访问时所引发的异常。
UnhandledExceptionEventArgs
为以下情况下引发的事件提供数据:存在一个不是由应用程序域处理的异常。
Uri
提供统一资源标识符 (URI) 的对象表示形式和对 URI 各部分的轻松访问。
UriBuilder
为统一资源标识符 (URI) 提供自定义构造函数,并修改
Uri
类的 URI。
UriFormatException
当检测到无效的统一资源标识符 (URI) 时引发的异常。
UriParser
分析新的 URI 方案。这是一个抽象类。
UriTypeConverter
将
String
类型转换为
Uri
类型,反之亦然。
ValueType
提供值类型的基类。
Version
表示公共语言运行库程序集的版本号。无法继承此类。
WeakReference
表示弱引用,即在引用对象的同时仍然允许对该对象进行垃圾回收。
接口
接口
说明
_AppDomain
向非托管代码公开
System.AppDomain
类的公共成员。
IAppDomainSetup
表示可以添加到
AppDomain
的实例的程序集绑定信息。
IAsyncResult
表示异步操作的状态。
ICloneable
支持克隆,即用与现有实例相同的值创建类的新实例。
IComparable
定义通用的比较方法,由值类型或类实现以创建类型特定的比较方法。
IComparable
定义由值类型或类实现的通用的比较方法,以为排序实例创建类型特定的比较方法。
IConvertible
定义特定的方法,这些方法将实现引用或值类型的值转换为具有等效值的公共语言运行库类型。
ICustomFormatter
定义一种方法,它支持对象值的自定义(用户定义)格式设置。
IDisposable
定义一种释放分配的非托管资源的方法。
IEquatable
定义一个通用的方法,由值类型或类实现以创建类型特定的方法,用于确定实例间的相等性。
IFormatProvider
提供用于检索控制格式化的对象的机制。
IFormattable
提供将对象的值格式化为字符串表示形式的功能。
IServiceProvider
定义一种检索服务对象的机制,服务对象是为其他对象提供自定义支持的对象。
结构
结构
说明
ArgIterator
表示变长参数列表;即采用可变数量的参数的函数的参数。
ArraySegment
分隔一维数组的一部分。
Boolean
表示布尔值。
Byte
表示一个 8 位无符号整数。
Char
表示一个 Unicode 字符。
ConsoleKeyInfo
描述按下的控制台键,包括控制台键表示的字符以及 Shift、Alt 和 Ctrl 修改键的状态。
DateTime
表示时间上的一刻,通常以日期和当天的时间表示。
Decimal
表示十进制数。
Double
表示一个双精度浮点数字。
Enum
为枚举提供基类。
Guid
表示全局唯一标识符 (GUID)。
Int16
表示 16 位有符号的整数。
Int32
表示 32 位有符号的整数。
Int64
表示 64 位有符号的整数。
IntPtr
用于表示指针或句柄的平台特定类型。
ModuleHandle
表示模块的运行时句柄。
Nullable
表示基础类型为值类型的对象,值类型与引用类型一样也可以分配 空引用(在 Visual Basic 中为 Nothing)。
RuntimeArgumentHandle
引用变长参数列表。
RuntimeFieldHandle
使用内部元数据标记表示一个字段。
RuntimeMethodHandle
RuntimeMethodHandle
是方法的内部元数据表示形式的句柄。
RuntimeTypeHandle
表示使用内部元数据标记的类型。
SByte
表示 8 位有符号整数。
Single
表示一个单精度浮点数字。
TimeSpan
表示一个时间间隔。
TypedReference
描述既包含指向某位置的托管指针,也包含该位置可能存储的类型的运行时表示形式的对象。
UInt16
表示 16 位无符号整数。
UInt32
表示 32 位无符号整数。
UInt64
表示 64 位无符号整数。
UIntPtr
用于表示指针或句柄的平台特定类型。
Void
为不返回值的方法指定返回值类型。
委托
委托
说明
Action
表示对指定的对象执行操作的方法。
AppDomainInitializer
表示在应用程序域初始化时要调用的回调方法。
AssemblyLoadEventHandler
表示处理
AppDomain
的
AssemblyLoad
事件的方法。
AsyncCallback
引用在异步操作完成时调用的回调方法。
Comparison
表示比较同一类型的两个对象的方法。
ConsoleCancelEventHandler
表示将要处理
System.Console
的
CancelKeyPress
事件的方法。
Converter
表示将对象从一种类型转换为另一种类型的方法。
CrossAppDomainDelegate
由
DoCallBack
使用,用于跨应用程序域的调用。
EventHandler
表示将处理不包含事件数据的事件的方法。
EventHandler
表示将处理事件的方法。泛型类型参数指定事件所生成的事件数据的类型。
Predicate
表示定义一组条件并确定指定对象是否符合这些条件的方法。
ResolveEventHandler
表示处理
AppDomain
的
TypeResolve
、
ResourceResolve
和
AssemblyResolve
事件的方法。
UnhandledExceptionEventHandler
表示将处理事件的方法,该事件由应用程序域不处理的异常引发。
枚举
枚举
说明
ActivationContext.ContextForm
指示清单激活的应用程序的上下文。
AppDomainManagerInitializationOptions
指定在初始化一个新域时自定义应用程序域管理器应采取的操作。
AttributeTargets
指定可以对它们应用属性的应用程序元素。
Base64FormattingOptions
指定相关的
System.Convert.ToBase64CharArray
和
System.Convert.ToBase64String
方法是否在其输出中插入分行符。
ConsoleColor
指定定义控制台前景色和背景色的常数。
ConsoleKey
指定控制台上的标准键。
ConsoleModifiers
表示键盘上的 Shift、Alt 和 Ctrl 修改键。
ConsoleSpecialKey
指定能够中断当前进程的修改键和控制台键的组合。
DateTimeKind
指定
DateTime
对象是表示本地时间、协调通用时间 (UTC),还是既不指定为本地时间,也不指定为 UTC。
DayOfWeek
指定一周的某天。
Environment.SpecialFolder
指定用于检索系统特殊文件夹的目录路径的枚举常数。
EnvironmentVariableTarget
指定在 Set 或 Get 操作中存储或检索环境变量的位置。
GenericUriParserOptions
指定
UriParser
的选项。
LoaderOptimization
一个枚举,它与
LoaderOptimizationAttribute
类一起使用为可执行文件指定加载程序优化。
MidpointRounding
指定数学舍入方法应如何处理两个数字间的中间值。
PlatformID
标识程序集所支持的操作系统(或平台)。
StringComparison
指定
String.Compare
和
String.Equals
方法的某些重载要使用的区域、大小写和排序规则。
StringSplitOptions
指定适用的
System.String.Split
方法重载包含还是省略返回值中的空子字符串。
TypeCode
指定对象的类型。
UriComponents
指定
Uri
的各个部分。
UriFormat
控制 URI 信息的转义方式。
UriHostNameType
为
Uri.CheckHostName
方法定义主机名类型。
UriKind
定义
Uri.IsWellFormedUriString
的
Uri
的类型和几种
System.Uri
方法。
UriPartial
为
Uri.GetLeftPart
方法定义 URI 的各部分。
标记 :