.NET Framework 4.5.1 中的新增类型和成员
下面的表列出了.NET Framework 4.5.1中的新类型和成员,通过程序集来组织。 在表中,新类型和成员进行命名空间、类型和成员名称按字母顺序显示。 此信息适用于 .NET Framework 中的完整版本的更改。 针对Windows Store apps的.NET APIs包括位于4.5.1版本中的新方法:the System.IO.Stream.AsRandomAccessStream method(在System.Runtime.WindowsRuntime.dll
mscorlib.dll
System.Diagnostics.Tracing |
EventSource |
ConstructionException 属性 |
System.Diagnostics.Tracing |
EventSource |
CurrentThreadActivityId 属性 |
System.Diagnostics.Tracing |
EventSource |
SetCurrentThreadActivityId(Guid) 方法 |
System.Diagnostics.Tracing |
EventSource |
SetCurrentThreadActivityId(Guid, Guid%) 方法 |
System.Diagnostics.Tracing |
EventSource |
WriteEventWithRelatedActivityId(Int32, Guid, array<Object[]) 方法 |
System.Diagnostics.Tracing |
EventSource |
WriteEventWithRelatedActivityIdCore(Int32, Guid*, Int32, EventSource.EventData*) 方法 |
System.Diagnostics.Tracing |
EventWrittenEventArgs |
ActivityId 属性 |
System.Diagnostics.Tracing |
EventWrittenEventArgs |
RelatedActivityId 属性 |
System.Runtime |
GCLargeObjectHeapCompactionMode |
所有成员 |
System.Runtime |
GCLargeObjectHeapCompactionMode |
CompactOnce 成员 |
System.Runtime |
GCLargeObjectHeapCompactionMode |
Default 成员 |
System.Runtime |
GCSettings |
LargeObjectHeapCompactionMode 属性 |
System.Runtime.InteropServices |
Marshal |
CreateAggregatedObject<T>(IntPtr, T) 方法 |
System.Runtime.InteropServices |
Marshal |
CreateWrapperOfType<T, TWrapper>(T) 方法 |
System.Runtime.InteropServices |
Marshal |
DestroyStructure<T>(IntPtr) 方法 |
System.Runtime.InteropServices |
Marshal |
GetComInterfaceForObject<T, TInterface>(T) 方法 |
System.Runtime.InteropServices |
Marshal |
GetDelegateForFunctionPointer<TDelegate>(IntPtr) 方法 |
System.Runtime.InteropServices |
Marshal |
GetFunctionPointerForDelegate<TDelegate>(TDelegate) 方法 |
System.Runtime.InteropServices |
Marshal |
GetNativeVariantForObject<T>(T, IntPtr) 方法 |
System.Runtime.InteropServices |
Marshal |
GetObjectForNativeVariant<T>(IntPtr) 方法 |
System.Runtime.InteropServices |
Marshal |
GetObjectsForNativeVariants<T>(IntPtr, Int32) 方法 |
System.Runtime.InteropServices |
Marshal |
OffsetOf<T>(String) 方法 |
System.Runtime.InteropServices |
Marshal |
PtrToStructure 方法 |
System.Runtime.InteropServices |
Marshal |
PtrToStructure<T>(IntPtr, T) 方法 |
System.Runtime.InteropServices |
Marshal |
SizeOf<T>() 方法 |
System.Runtime.InteropServices |
Marshal |
SizeOf<T>(T) 方法 |
System.Runtime.InteropServices |
Marshal |
StructureToPtr<T>(T, IntPtr, Boolean) 方法 |
System.Runtime.InteropServices |
Marshal |
UnsafeAddrOfPinnedArrayElement<T>(array<T[], Int32) 方法 |
System.Core.dll
System.Data.dll
System.DirectoryServices.dll
System.Security.dll
System.Transactions.dll
System.Web.dll
请参见
概念
.NET Framework 4.5、4.5.1 和 4.5.2 中的新增功能