Export (0) Print
Expand All

New Types and Members in the .NET Framework 4.5.1

The following tables list new types and members in the .NET Framework 4.5.1, organized by assembly. Within a table, new types and members appear alphabetically by namespace, type, and member name. This information applies to changes in the full version of the .NET Framework. The .NET APIs for Windows Store apps include one new method in version 4.5.1: the System.IO.Stream.AsRandomAccessStream method (in System.Runtime.WindowsRuntime.dll).

Namespace

Type

Member

System.Diagnostics.Tracing

EventSource

ConstructionException property

System.Diagnostics.Tracing

EventSource

CurrentThreadActivityId property

System.Diagnostics.Tracing

EventSource

SetCurrentThreadActivityId(Guid) method

System.Diagnostics.Tracing

EventSource

SetCurrentThreadActivityId(Guid, Guid) method

System.Diagnostics.Tracing

EventSource

WriteEventWithRelatedActivityId(Int32, Guid, Object[]) method

System.Diagnostics.Tracing

EventSource

WriteEventWithRelatedActivityIdCore(Int32, Guid*, Int32, EventSource.EventData*) method

System.Diagnostics.Tracing

EventWrittenEventArgs

ActivityId property

System.Diagnostics.Tracing

EventWrittenEventArgs

RelatedActivityId property

System.Runtime

GCLargeObjectHeapCompactionMode

All members

System.Runtime

GCLargeObjectHeapCompactionMode

CompactOnce member

System.Runtime

GCLargeObjectHeapCompactionMode

Default member

System.Runtime

GCSettings

LargeObjectHeapCompactionMode property

System.Runtime.InteropServices

Marshal

CreateAggregatedObject<T>(IntPtr, T) method

System.Runtime.InteropServices

Marshal

CreateWrapperOfType<T, TWrapper>(T) method

System.Runtime.InteropServices

Marshal

DestroyStructure<T>(IntPtr) method

System.Runtime.InteropServices

Marshal

GetComInterfaceForObject<T, TInterface>(T) method

System.Runtime.InteropServices

Marshal

GetDelegateForFunctionPointer<TDelegate>(IntPtr) method

System.Runtime.InteropServices

Marshal

GetFunctionPointerForDelegate<TDelegate>(TDelegate) method

System.Runtime.InteropServices

Marshal

GetNativeVariantForObject<T>(T, IntPtr) method

System.Runtime.InteropServices

Marshal

GetObjectForNativeVariant<T>(IntPtr) method

System.Runtime.InteropServices

Marshal

GetObjectsForNativeVariants<T>(IntPtr, Int32) method

System.Runtime.InteropServices

Marshal

OffsetOf<T>(String) method

System.Runtime.InteropServices

Marshal

PtrToStructure method

System.Runtime.InteropServices

Marshal

PtrToStructure<T>(IntPtr, T) method

System.Runtime.InteropServices

Marshal

SizeOf<T>() method

System.Runtime.InteropServices

Marshal

SizeOf<T>(T) method

System.Runtime.InteropServices

Marshal

StructureToPtr<T>(T, IntPtr, Boolean) method

System.Runtime.InteropServices

Marshal

UnsafeAddrOfPinnedArrayElement<T>(T[], Int32) method

Show:
© 2014 Microsoft