This topic has not yet been rated - Rate this topic

Obsolete Members in the .NET Framework 4.5

.NET Framework 4.5

The following tables list the obsolete members in system assemblies. These assemblies are used for general-purpose application development that targets the .NET Framework.

Type

Member

Message

Enum

ToString(IFormatProvider)

The provider argument is not used. Please use EnumToString.

Enum

ToString(String, IFormatProvider)

The provider argument is not used. Please use EnumToString.

Activator

CreateInstance(String, String, Boolean, BindingFlags, Binder, Object, CultureInfo, Object, Evidence)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of ActivatorCreateInstance which does not take an Evidence parameter.

Activator

CreateInstanceFrom(String, String, Boolean, BindingFlags, Binder, Object, CultureInfo, Object, Evidence)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of ActivatorCreateInstanceFrom which does not take an Evidence parameter.

Activator

CreateInstanceFrom(AppDomain, String, String, Boolean, BindingFlags, Binder, Object, CultureInfo, Object, Evidence)

Methods which use Evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of ActivatorCreateInstanceFrom that does not take an Evidence parameter.

Activator

CreateInstance(AppDomain, String, String, Boolean, BindingFlags, Binder, Object, CultureInfo, Object, Evidence)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of ActivatorCreateInstance that does not take an Evidence parameter.

AppDomain

CreateInstanceFromAndUnwrap(String, String, Boolean, BindingFlags, Binder, Object, CultureInfo, Object, Evidence)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AppDomainCreateInstanceFromAndUnwrap that does not take an Evidence parameter.

AppDomain

ExecuteAssembly(String, Evidence, String, Byte, AssemblyHashAlgorithm)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AppDomainExecuteAssembly that does not take an Evidence parameter.

AppDomain

SetAppDomainPolicy

AppDomain policy levels are obsolete and will be removed in a future release of the .NET Framework.

AppDomain

ExecuteAssemblyByName(AssemblyName, Evidence, String)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AppDomainExecuteAssemblyByName which does not take an Evidence parameter.

AppDomain

Load(Byte, Byte, Evidence)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AppDomainLoad which does not take an Evidence parameter.

AppDomain

ExecuteAssembly(String, Evidence)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AppDomainExecuteAssembly which does not take an Evidence parameter.

AppDomain

AppendPrivatePath

AppendPrivatePath has been deprecated. Please investigate the use of AppDomainSetupPrivateBinPath instead.

AppDomain

CreateInstanceAndUnwrap(String, String, Boolean, BindingFlags, Binder, Object, CultureInfo, Object, Evidence)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AppDomainCreateInstanceFromAndUnwrap which does not take an Evidence parameter.

AppDomain

Load(String, Evidence)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AppDomainLoad which does not take an Evidence parameter.

AppDomain

ClearShadowCopyPath

ClearShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetupShadowCopyDirectories instead.

AppDomain

Load(AssemblyName, Evidence)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AppDomainLoad which does not take an Evidence parameter.

AppDomain

SetCachePath

SetCachePath has been deprecated. Please investigate the use of AppDomainSetupCachePath instead.

AppDomain

CreateInstance(String, String, Boolean, BindingFlags, Binder, Object, CultureInfo, Object, Evidence)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AppDomainCreateInstance that does not take an Evidence parameter.

AppDomain

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean)

Assembly level declarative security is obsolete and is no longer enforced by the CLR by default.

AppDomain

SetShadowCopyFiles

SetShadowCopyFiles has been deprecated. Please investigate the use of AppDomainSetupShadowCopyFiles instead.

AppDomain

ExecuteAssemblyByName(String, Evidence, String)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AppDomainExecuteAssemblyByName that does not take an Evidence parameter.

AppDomain

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence)

Assembly level declarative security is obsolete and is no longer enforced by the CLR by default.

AppDomain

ClearPrivatePath

ClearPrivatePath has been deprecated. Please investigate the use of AppDomainSetupPrivateBinPath instead.

AppDomain

ExecuteAssembly(String, Evidence, String)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AppDomainExecuteAssembly which does not take an Evidence parameter.

AppDomain

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet)

Assembly level declarative security is obsolete and is no longer enforced by the CLR by default.

AppDomain

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean, IEnumerableCustomAttributeBuilder)

Assembly level declarative security is obsolete and is no longer enforced by the CLR by default.

AppDomain

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AppDomainDefineDynamicAssembly that does not take an Evidence parameter.

AppDomain

CreateInstanceFrom(String, String, Boolean, BindingFlags, Binder, Object, CultureInfo, Object, Evidence)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AppDomainCreateInstanceFrom that does not take an Evidence parameter.

AppDomain

GetCurrentThreadId

GetCurrentThreadId has been deprecated because it does not provide a stable Id when managed threads are running on fibers (aka lightweight threads). To get a stable identifier for a managed thread, use the ThreadManagedThreadId property.

AppDomain

SetDynamicBase

SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetupDynamicBase instead.

AppDomain

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet)

Assembly level declarative security is obsolete and is no longer enforced by the CLR by default.

AppDomain

SetShadowCopyPath

SetShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetupShadowCopyDirectories instead.

AppDomain

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet)

Assembly level declarative security is obsolete and is no longer enforced by the CLR by default.

AppDomain

DefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet)

Assembly level declarative security is obsolete and is no longer enforced by the CLR by default.

AppDomain

ExecuteAssemblyByName(String, Evidence)

Methods which use evidence to sandbox are obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AppDomainExecuteAssemblyByName that does not take an Evidence parameter.

LoaderOptimization

DomainMask

This method has been deprecated. Please use AssemblyLoad instead.

LoaderOptimization

DisallowBindings

This method has been deprecated. Please use AssemblyLoad instead.

ResourceManager

ResourceManagerResourceSets

Call ResourceManagerInternalGetResourceSet instead.

WaitHandle

Handle

Use the WaitHandleSafeWaitHandle property instead.

Overlapped

EventHandle

This property is not 64-bit compatible. Use OverlappedEventHandleIntPtr instead.

Overlapped

Pack(IOCompletionCallback)

This method is not safe. Use OverlappedPack(IOCompletionCallback, Object) instead.

Overlapped

#ctor(Int32, Int32, Int32, IAsyncResult)

This constructor is not 64-bit compatible. Use the Overlapped#ctor(Int32, Int32, IntPtr, IAsyncResult) constructor that takes an IntPtr for the event handle.

Overlapped

UnsafePack(IOCompletionCallback)

This method is not safe. Use OverlappedUnsafePack(IOCompletionCallback, Object) instead.

Thread

Resume

Resume has been deprecated. Please use other classes in System.Threading, such as Monitor, Mutex , EventWaitHandle, and Semaphore, to synchronize threads or protect resources.

Thread

SetCompressedStack

SetCompressedStack is no longer supported. Please use the CompressedStack class.

Thread

GetCompressedStack

GetCompressedStack is no longer supported. Please use the CompressedStack class.

Thread

ApartmentState

The ApartmentState property has been deprecated. Use ThreadGetApartmentState, ThreadSetApartmentState or ThreadTrySetApartmentState instead.

Thread

Suspend

Suspend has been deprecated. Please use other classes in System.Threading, such as Monitor, Mutex , EventWaitHandle, and Semaphore, to synchronize threads or protect resources.

ThreadPool

BindHandle(IntPtr)

BindHandle(IntPtr) has been deprecated. Please use ThreadPoolBindHandle(SafeHandle) instead.

Hashtable

#ctor(IDictionary, Single, IHashCodeProvider, IComparer)

Please use Hashtable#ctor(IDictionary, Single, IEqualityComparer) instead.

Hashtable

#ctor(IDictionary, IHashCodeProvider, IComparer)

Please use Hashtable#ctor(IDictionary, IEqualityComparer) instead.

Hashtable

#ctor(Int32, IHashCodeProvider, IComparer)

Please use Hashtable#ctor(Int32, IEqualityComparer) instead.

Hashtable

#ctor(IHashCodeProvider, IComparer)

Please use Hashtable#ctor(IEqualityComparer) instead.

Hashtable

#ctor(Int32, Single, IHashCodeProvider, IComparer)

Please use Hashtable#ctor(Int32, Single, IEqualityComparer) instead.

Hashtable

Hashtablecomparer

Please use the HashtableEqualityComparer property.

Hashtable

Hashtablehcp

Please use KeyComparer properties.

Debugger

#ctor

Do not create instances of the Debugger class. Call the static methods directly on this type instead.

StackTrace

#ctor(Thread, Boolean)

First deprecated in the .NET Framework 4.5.

This constructor has been deprecated. Please use a constructor that does not require a Thread parameter.

ISymbolBinder

GetReader

The recommended alternative is ISymbolBinder1GetReader, which takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures.

Assembly

Load(String, Evidence)

This method is obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AssemblyLoad that does not take an Evidence parameter.

Assembly

LoadWithPartialName(String)

This method has been deprecated. Please use AssemblyLoad instead.

Assembly

LoadWithPartialName(String, Evidence)

This method has been deprecated. Please use AssemblyLoad instead.

Assembly

Load(Byte, Byte, Evidence)

This method is obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AssemblyLoad that does not take an Evidence parameter.

Assembly

Load(AssemblyName, Evidence)

This method is obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AssemblyLoad that does not take an Evidence parameter.

Assembly

LoadFrom(String, Evidence)

This method is obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AssemblyLoadFrom which does not take an Evidence parameter.

Assembly

LoadFile(String, Evidence)

This method is obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AssemblyLoadFile which does not take an Evidence parameter.

Assembly

LoadFrom(String, Evidence, Byte, AssemblyHashAlgorithm)

This method is obsolete and will be removed in a future release of the .NET Framework. Please use an overload of AssemblyLoadFrom which does not take an Evidence parameter.

AssemblyFlagsAttribute

#ctor(Int32)

This constructor has been deprecated. Please use AssemblyFlagsAttribute#ctor(AssemblyNameFlags) instead.

AssemblyFlagsAttribute

#ctor(UInt32)

This constructor has been deprecated. Please use AssemblyFlagsAttribute#ctor(AssemblyNameFlags) instead.

AssemblyFlagsAttribute

Flags

This property has been deprecated. Please use AssemblyFlagsAttributeAssemblyFlags instead.

CultureTypes

FrameworkCultures

This value has been deprecated. Please use other values in CultureTypes.

CultureTypes

WindowsOnlyCultures

This value has been deprecated. Please use other values in CultureTypes.

Registry

DynData

The DynData registry key only works on Win9x, which is no longer supported by the CLR. On NT-based operating systems, use the RegistryPerformanceData registry key instead.

Evidence

AddAssembly

This method is obsolete. Please use EvidenceAddAssemblyEvidence``1 instead.

Evidence

CopyTo

Evidence should not be treated as an ICollection. Please use the EvidenceGetHostEnumerator and EvidenceGetAssemblyEnumerator methods rather than using CopyTo.

Evidence

Count

Evidence should not be treated as an ICollection. Please use EvidenceGetHostEnumerator and EvidenceGetAssemblyEnumerator to iterate over the evidence to collect a count.

Evidence

AddHost

This method is obsolete. Please use EvidenceAddHostEvidence``1 instead.

Evidence

GetEnumerator

GetEnumerator is obsolete. Please use EvidenceGetHostEnumerator and EvidenceGetAssemblyEnumerator instead.

Evidence

#ctor(Object, Object)

This constructor is obsolete. Please use the Evidence#ctor(EvidenceBase, EvidenceBase) constructor instead.

PolicyLevel

CreateAppDomainLevel

AppDomain policy levels are obsolete and will be removed in a future release of the .NET Framework.

PolicyLevel

RemoveFullTrustAssembly(StrongNameMembershipCondition)

Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.

PolicyLevel

FullTrustAssemblies

Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.

PolicyLevel

AddFullTrustAssembly(StrongName)

Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.

PolicyLevel

AddFullTrustAssembly(StrongNameMembershipCondition)

Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.

PolicyLevel

RemoveFullTrustAssembly(StrongName)

Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.

Marshal

GetThreadFromFiberCookie

The GetThreadFromFiberCookie method has been deprecated. Use the hosting API to perform this operation.

Marshal

ReleaseThreadCache

This API did not perform any operation and will be removed in future versions of the CLR.

Marshal

GetManagedThunkForUnmanagedMethodPtr

The GetManagedThunkForUnmanagedMethodPtr method has been deprecated and will be removed in a future release.

Marshal

GetTypeInfoName(UCOMITypeInfo)

Use MarshalGetTypeInfoName(ITypeInfo) instead.

Marshal

GetTypeLibLcid(UCOMITypeLib)

Use MarshalGetTypeLibLcid(ITypeLib) instead.

Marshal

GetTypeLibName(UCOMITypeLib)

Use MarshalGetTypeLibName(ITypeLib) instead.

Marshal

GetTypeLibGuid(UCOMITypeLib)

Use MarshalGetTypeLibGuid(ITypeLib) instead.

Marshal

GetUnmanagedThunkForManagedMethodPtr

The GetUnmanagedThunkForManagedMethodPtr method has been deprecated and will be removed in a future release.

RuntimeEnvironment

#ctor

Use of this member generates a compiler error.

Do not create instances of the RuntimeEnvironment class. Call the static methods directly on this type instead.

Stream

StreamCreateWaitHandle

CreateWaitHandle will be removed eventually. Please use new ManualResetEvent(false) instead.

Stream

StreamObjectInvariant

First deprecated in the .NET Framework 4.5.

Do not call or override this method.

FileStream

#ctor(IntPtr, FileAccess, Boolean, Int32, Boolean)

This constructor has been deprecated. Please use FileStream#ctor(SafeFileHandle, FileAccess, Int32, Boolean) instead, and optionally make a new SafeFileHandle with ownsHandle=false if needed.

FileStream

#ctor(IntPtr, FileAccess)

This constructor has been deprecated. Please use FileStream#ctor(SafeFileHandle, FileAccess) instead.

FileStream

Handle

This property has been deprecated. Please use the FileStreamSafeFileHandle property instead.

FileStream

#ctor(IntPtr, FileAccess, Boolean, Int32)

This constructor has been deprecated. Please use FileStream#ctor(SafeFileHandle, FileAccess, Int32) instead, and optionally make a new SafeFileHandle with ownsHandle=false if needed.

FileStream

#ctor(IntPtr, FileAccess, Boolean)

This constructor has been deprecated. Please use FileStream#ctor(SafeFileHandle, FileAccess) instead, and optionally make a new SafeFileHandle with ownsHandle=false if needed.

Path

InvalidPathChars

Please use PathGetInvalidPathChars or PathGetInvalidFileNameChars instead.

CodeAccessPermission

RevertDeny

Deny is obsolete and will be removed in a future release of the .NET Framework.

CodeAccessPermission

Deny

Deny is obsolete and will be removed in a future release of the .NET Framework.

SecurityAction

Deny

Deny is obsolete and will be removed in a future release of the .NET Framework.

SecurityAction

RequestRefuse

Assembly level declarative security is obsolete and is no longer enforced by the CLR by default.

SecurityAction

RequestMinimum

Assembly level declarative security is obsolete and is no longer enforced by the CLR by default.

SecurityAction

RequestOptional

Assembly level declarative security is obsolete and is no longer enforced by the CLR by default.

FileIOPermissionAttribute

All

Please use the FileIOPermissionAttributeViewAndModify property instead.

ReflectionPermissionAttribute

TypeInformation

This API has been deprecated.

ReflectionPermissionAttribute

ReflectionEmit

This permission is no longer used by the CLR.

RegistryPermissionAttribute

All

Please use the RegistryPermissionAttributeViewAndModify property instead.

ReflectionPermissionFlag

TypeInformation

This API has been deprecated.

ReflectionPermissionFlag

AllFlags

This permission has been deprecated. Use PermissionStateUnrestricted to get full access.

ReflectionPermissionFlag

ReflectionEmit

This permission is no longer used by the CLR.

SecurityCriticalAttribute

Scope

SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.

HostSecurityManagerOptions

HostPolicyLevel

AppDomain policy levels are obsolete and will be removed in a future release of the .NET Framework.

HostSecurityManager

DomainPolicy

AppDomain policy levels are obsolete and will be removed in a future release of the .NET Framework.

PermissionSet

ConvertPermissionSet

This method is obsolete and should no longer be used.

PermissionSet

Deny

Deny is obsolete and will be removed in a future release of the .NET Framework.

SecurityManager

SecurityEnabled

Because security can no longer be turned off, the SecurityEnabled property no longer has any effect.

SecurityManager

SavePolicy

This method is obsolete and will be removed in a future release of the .NET Framework.

SecurityManager

LoadPolicyLevelFromFile

This method is obsolete and will be removed in a future release of the .NET Framework.

SecurityManager

ResolvePolicy(Evidence, PermissionSet, PermissionSet, PermissionSet, PermissionSet)

This method is obsolete and will be removed in a future release of the .NET Framework.

SecurityManager

ResolvePolicy(Evidence)

This method is obsolete and will be removed in a future release of the .NET Framework.

SecurityManager

PolicyHierarchy

This method is obsolete and will be removed in a future release of the .NET Framework.

SecurityManager

ResolvePolicy(Evidence)

This method is obsolete and will be removed in a future release of the .NET Framework.

SecurityManager

CheckExecutionRights

Because execution permission checks can no longer be turned off, the CheckExecutionRights property no longer has any effect.

SecurityManager

ResolvePolicyGroups

This method is obsolete and will be removed in a future release of the .NET Framework.

SecurityManager

IsGranted

IsGranted is obsolete and will be removed in a future release of the .NET Framework. Please use either the AppDomainPermissionSet or the AssemblyPermissionSet property instead.

SecurityManager

LoadPolicyLevelFromString

This method is obsolete and will be removed in a future release of the .NET Framework.

SecurityManager

ResolveSystemPolicy

This method is obsolete and will be removed in a future release of the .NET Framework.

SecurityManager

SavePolicyLevel

This method is obsolete and will be removed in a future release of the .NET Framework.

ChannelServices

RegisterChannel

Use ChannelServicesRegisterChannel instead.

LifetimeServices

#ctor

Use of this member generates a compiler error.

Do not create instances of the LifetimeServices class. Call the static methods directly on this type instead.

RemotingConfiguration

Configure(String)

Use RemotingConfigurationConfigure(String, Boolean) instead.

RemotingServices

LogRemotingStage

Use of this method is not recommended. The LogRemotingStage existed for internal diagnostic purposes only.

IsolatedStorage

CurrentSize

CurrentSize has been deprecated because it is not CLS Compliant. To get the current size use IsolatedStorageUsedSize.

IsolatedStorage

MaximumSize

MaximumSize has been deprecated because it is not CLS Compliant. To get the maximum size use IsolatedStorageQuota.

IsolatedStorageFileStream

Handle

This property has been deprecated. Please use the IsolatedStorageFileStreamSafeFileHandle property instead.

IsolatedStorageFile

CurrentSize

CurrentSize has been deprecated because it is not CLS Compliant. To get the current size use UsedSize.

IsolatedStorageFile

MaximumSize

MaximumSize has been deprecated because it is not CLS Compliant. To get the maximum size use IsolatedStorageFileQuota.

ConstructorBuilder

ReturnType

This property has been deprecated.

FieldBuilder

SetMarshal

An alternate API is available: Emit the MarshalAsAttribute custom attribute instead.

MethodBuilder

SetMarshal

An alternate API is available: Emit the MarshalAsAttribute custom attribute instead.

OpCodeType

Annotation

This API has been deprecated.

OperandType

InlinePhi

This API has been deprecated.

FlowControl

Phi

This API has been deprecated.

ParameterBuilder

SetMarshal

An alternate API is available: Emit the MarshalAsAttribute custom attribute instead.

AssemblyHash

#ctor(AssemblyHashAlgorithm, Byte)

The AssemblyHash class has been deprecated.

AssemblyHash

Algorithm

The AssemblyHash class has been deprecated.

AssemblyHash

#ctor(Byte)

The AssemblyHash class has been deprecated.

AssemblyHash

Empty

The AssemblyHash class has been deprecated.

AssemblyHash

Clone

The AssemblyHash class has been deprecated.

AssemblyHash

SetValue

The AssemblyHash class has been deprecated.

AssemblyHash

GetValue

The AssemblyHash class has been deprecated.

PasswordDeriveBytes

GetBytes

Rfc2898DeriveBytes replaces PasswordDeriveBytes for deriving key material from a password and is preferred in new applications.

X509Certificate

GetIssuerName

This method has been deprecated. Please use the X509CertificateIssuer property instead.

X509Certificate

GetName

This method has been deprecated. Please use the X509CertificateSubject property instead.

Back to top

Type

Member

Message

ContainerVisual

BitmapEffect

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

ContainerVisual

BitmapEffectInput

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

DrawingContext

PushEffect

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

BevelBitmapEffect

CreateUnmanagedEffect

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

BevelBitmapEffect

UpdateUnmanagedPropertyState

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

BitmapEffect

CreateBitmapEffectOuter

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

BitmapEffect

CreateUnmanagedEffect

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

BitmapEffect

GetOutput

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

BitmapEffect

InitializeBitmapEffect

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

BitmapEffect

SetValue

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

BitmapEffect

UpdateUnmanagedPropertyState

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

BitmapEffectGroup

CreateUnmanagedEffect

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

BitmapEffectGroup

UpdateUnmanagedPropertyState

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

BlurBitmapEffect

CreateUnmanagedEffect

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

BlurBitmapEffect

UpdateUnmanagedPropertyState

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

DropShadowBitmapEffect

CreateUnmanagedEffect

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

DropShadowBitmapEffect

UpdateUnmanagedPropertyState

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

EmbossBitmapEffect

CreateUnmanagedEffect

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

EmbossBitmapEffect

UpdateUnmanagedPropertyState

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

OuterGlowBitmapEffect

CreateUnmanagedEffect

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

OuterGlowBitmapEffect

UpdateUnmanagedPropertyState

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

Viewport3DVisual

BitmapEffect

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

Viewport3DVisual

BitmapEffectInput

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

RenderCapability

IsShaderEffectSoftwareRenderingSupported

This property is deprecated. Use the static RenderCapabilityIsPixelShaderVersionSupportedInSoftware method instead.

Visual

VisualBitmapEffect

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

Visual

VisualBitmapEffectInput

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

UIElement

BitmapEffect

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

UIElement

BitmapEffectInput

Bitmap effects are deprecated and no longer function. Consider using Effect where appropriate instead.

UIElement

PersistId

PersistId is an obsolete property and may be removed in a future release. The value of this property is not defined.

Back to top

Type

Member

Message

DragDropHelper

DoDragMove(WorkflowViewElement, Point)

First deprecated in the .NET Framework 4.5.

This method does not support dragging multiple items. Use DoDragMove(IEnumerableWorkflowViewElement, Point).

DragDropHelper

GetCompositeView(DragEventArgs)

First deprecated in the .NET Framework 4.5.

This method does not support dragging multiple items. Use GetCompositeView(WorkflowViewElement).

DragDropHelper

GetDragDropCompletedEffects

First deprecated in the .NET Framework 4.5.

This method does not support dragging multiple items. Consider using SetDragDropMovedViewElements(DragEventArgs, IEnumerableWorkflowViewElement) instead.

DragDropHelper

GetDraggedModelItem

First deprecated in the .NET Framework 4.5.

This method does not support dragging multiple items. Use GetDraggedModelItems.

DragDropHelper

GetDroppedObject

First deprecated in the .NET Framework 4.5.

This method does not support dragging multiple items. Use GetDroppedObjects.

DragDropHelper

SetDragDropCompletedEffects

First deprecated in the .NET Framework 4.5.

This method does not support dragging multiple items. Consider using SetDragDropMovedViewElements instead.

ModelChangedEventArgs

ItemsAdded

First deprecated in the .NET Framework 4.5.

Don't use this property. Use ModelChangeInfo instead.

ModelChangedEventArgs

ItemsRemoved

First deprecated in the .NET Framework 4.5.

Don't use this property. Use ModelChangeInfo instead.

ModelChangedEventArgs

PropertiesChanged

First deprecated in the .NET Framework 4.5.

Don't use this property. Use ModelChangeInfo instead.

Back to top

Type

Member

Message

StandardEventKeywords

CorrelationHint

First deprecated in the .NET Framework 4.5.

Incorrect value; use CorrelationHint2 instead.

Expression

#ctor(ExpressionType, Type)

Use a different constructor that does not take an ExpressionType argument. Then override the ExpressionNodeType and ExpressionType properties to provide the values that would be specified to this constructor.

MemberBinding

#ctor

Do not use this constructor. It will be removed in future releases.

ParallelEnumerable

GroupJoin``4(ParallelQueryUMP, IEnumerableUMP, FuncUMP, UMP, FuncUMP, UMP, FuncUMP, IEnumerableUMP, UMP, IEqualityComparerUMP)

The second data source of a binary operator must be of type ParallelQuery rather than IEnumerable. To fix this problem, use the AsParallel``1(IEnumerableUMP) extension method to convert the right data source to ParallelQuery.

ParallelEnumerable

Union``1(ParallelQueryUMP, IEnumerableUMP, IEqualityComparerUMP)

The second data source of a binary operator must be of type ParallelQuery rather than IEnumerable. To fix this problem, use the AsParallel``1(IEnumerableUMP) extension method to convert the right data source to ParallelQuery.

ParallelEnumerable

Except``1(ParallelQueryUMP, IEnumerableUMP)

The second data source of a binary operator must be of type ParallelQuery rather than IEnumerable. To fix this problem, use the AsParallel``1(IEnumerableUMP) extension method to convert the right data source to ParallelQuery.

ParallelEnumerable

Zip``3

The second data source of a binary operator must be of type ParallelQuery rather than IEnumerable. To fix this problem, use the AsParallel``1(IEnumerableUMP) extension method to convert the right data source to ParallelQuery.

ParallelEnumerable

GroupJoin``4(ParallelQueryUMP, IEnumerableUMP, FuncUMP, UMP, FuncUMP, UMP, FuncUMP, IEnumerableUMP, UMP)

The second data source of a binary operator must be of type ParallelQuery rather than IEnumerable. To fix this problem, use the AsParallel``1(IEnumerableUMP) extension method to convert the right data source to ParallelQuery.

ParallelEnumerable

Union``1(ParallelQueryUMP, IEnumerableUMP)

The second data source of a binary operator must be of type ParallelQuery rather than IEnumerable. To fix this problem, use the AsParallel``1(IEnumerableUMP) extension method to convert the right data source to ParallelQuery.

ParallelEnumerable

Intersect``1(ParallelQueryUMP, IEnumerableUMP, IEqualityComparerUMP)

The second data source of a binary operator must be of type ParallelQuery rather than IEnumerable. To fix this problem, use the AsParallel``1(IEnumerableUMP) extension method to convert the right data source to ParallelQuery.

ParallelEnumerable

Intersect``1(ParallelQueryUMP, IEnumerableUMP)

The second data source of a binary operator must be of type ParallelQuery rather than IEnumerable. To fix this problem, use the AsParallel``1(IEnumerableUMP) extension method to convert the right data source to ParallelQuery.

ParallelEnumerable

Concat``1(ParallelQueryUMP, IEnumerableUMP)

The second data source of a binary operator must be of type ParallelQuery rather than IEnumerable. To fix this problem, use the AsParallel``1(IEnumerableUMP) extension method to convert the right data source to ParallelQuery.

ParallelEnumerable

SequenceEqual``1(ParallelQueryUMP, IEnumerableUMP, IEqualityComparerUMP)

The second data source of a binary operator must be of type ParallelQuery rather than IEnumerable. To fix this problem, use the AsParallel``1(IEnumerableUMP) extension method to convert the right data source to ParallelQuery.

ParallelEnumerable

SequenceEqual``1(ParallelQueryUMP, IEnumerableUMP)

The second data source of a binary operator must be of type ParallelQuery rather than IEnumerable. To fix this problem, use the AsParallel``1(IEnumerableUMP) extension method to convert the right data source to ParallelQuery.

ParallelEnumerable

Join``4(ParallelQueryUMP, IEnumerableUMP, FuncUMP, UMP, FuncUMP, UMP, FuncUMP, UMP, UMP, IEqualityComparerUMP)

The second data source of a binary operator must be of type ParallelQuery rather than IEnumerable. To fix this problem, use the AsParallel``1(IEnumerableUMP) extension method to convert the right data source to ParallelQuery.

ParallelEnumerable

Join``4(ParallelQueryUMP, IEnumerableUMP, FuncUMP, UMP, FuncUMP, UMP, FuncUMP, UMP, UMP)

The second data source of a binary operator must be of type ParallelQuery rather than IEnumerable. To fix this problem, use the AsParallel``1(IEnumerableUMP) extension method to convert the right data source to ParallelQuery.

ParallelEnumerable

Except``1(ParallelQueryUMP, IEnumerableUMP, IEqualityComparerUMP)

The second data source of a binary operator must be of type ParallelQuery rather than IEnumerable. To fix this problem, use the AsParallel``1(IEnumerableUMP) extension method to convert the right data source to ParallelQuery.

CallSiteOps

GetMatch

Use of this member generates a compiler error.

Do not use this method.

CallSiteOps

GetCachedRules``1(RuleCacheUMP)

Use of this member generates a compiler error.

Do not use this method.

CallSiteOps

AddRule``1

Use of this member generates a compiler error.

Do not use this method.

CallSiteOps

ClearMatch

Use of this member generates a compiler error.

Do not use this method.

CallSiteOps

UpdateRules``1

Use of this member generates a compiler error.

Do not use this method.

CallSiteOps

Bind``1

Use of this member generates a compiler error.

Do not use this method.

CallSiteOps

CreateMatchmaker``1

Use of this member generates a compiler error.

Do not use this method.

CallSiteOps

SetNotMatched

Use of this member generates a compiler error.

Do not use this method.

CallSiteOps

GetRules``1

Use of this member generates a compiler error.

Do not use this method.

CallSiteOps

GetRuleCache``1

Use of this member generates a compiler error.

Do not use this method.

CallSiteOps

MoveRule``1(RuleCacheUMP, UMP, Int32)

Use of this member generates a compiler error.

Do not use this method.

RuntimeOps

ExpandoTryGetValue

Use of this member generates a compiler error.

Do not use this method.

RuntimeOps

ExpandoCheckVersion

Use of this member generates a compiler error.

Do not use this method.

RuntimeOps

CreateRuntimeVariables(Object, Int64)

Use of this member generates a compiler error.

Do not use this method.

RuntimeOps

ExpandoPromoteClass

Use of this member generates a compiler error.

Do not use this method.

RuntimeOps

ExpandoTryDeleteValue

Use of this member generates a compiler error.

Do not use this method.

RuntimeOps

ExpandoTrySetValue

Use of this member generates a compiler error.

Do not use this method.

RuntimeOps

Quote

Use of this member generates a compiler error.

Do not use this method.

RuntimeOps

MergeRuntimeVariables

Use of this member generates a compiler error.

Do not use this method.

RuntimeOps

CreateRuntimeVariables

Use of this member generates a compiler error.

Do not use this method.

Back to top

Type

Member

Message

DataSysDescriptionAttribute

#ctor

DataSysDescriptionAttribute has been deprecated.

DataAdapter

CloneInternals

CloneInternals has been deprecated. Use the #ctor(DataAdapter) constructor.

DBDataPermission

#ctor

Use of this member generates a compiler error.

This constructor has been deprecated. Pass the #ctor(PermissionState) constructor a value of PermissionStateNone.

DBDataPermission

#ctor(PermissionState, Boolean)

Use of this member generates a compiler error.

This constructor has been deprecated. Pass the #ctor(PermissionState) constructor a value of PermissionStateNone.

OdbcParameterCollection

Add(String, Object)

Add(String, Object) has been deprecated. Use OdbcParameterCollectionAddWithValue(String, Object).

OdbcPermission

#ctor

Use of this member generates a compiler error.

#ctor has been deprecated. Pass the #ctor(PermissionState) constructor a value of PermissionStateNone.

OdbcPermission

#ctor(PermissionState, Boolean)

Use of this member generates a compiler error.

#ctor(PermissionState, Boolean) has been deprecated. Pass the #ctor(PermissionState) constructor a value of PermissionStateNone.

OleDbParameterCollection

Add(String, Object)

Add(String, Object) has been deprecated. Use the OleDbParameterCollectionAddWithValue method.

OleDbPermission

#ctor

Use of this member generates a compiler error.

#ctor has been deprecated. Pass the #ctor(PermissionState) a value of PermissionStateNone.

OleDbPermission

#ctor(PermissionState, Boolean)

Use of this member generates a compiler error.

#ctor(PermissionState, Boolean) has been deprecated. Pass the #ctor(PermissionState) a value of PermissionStateNone.

OleDbPermission

Provider

The Provider property has been deprecated. Use the Add(String, String, KeyRestrictionBehavior) method.

OleDbPermissionAttribute

Provider

The Provider property has been deprecated. Use the Add(String, String, KeyRestrictionBehavior) method.

SqlClientPermission

#ctor

Use of this constructor generates a compiler error.

#ctor has been deprecated. Pass the #ctor(PermissionState) constructor a value of PermissionStateNone.

SqlClientPermission

#ctor(PermissionState, Boolean)

Use of this constructor generates a compiler error.

#ctor(PermissionState, Boolean) has been deprecated. Pass the #ctor(PermissionState) constructor a value of PermissionStateNone.

SqlConnectionStringBuilder

ConnectionReset

ConnectionReset has been deprecated. SqlConnection will ignore the 'connection reset' keyword and always reset the connection.

SqlParameterCollection

Add(String, Object)

Add(String, Object) has been deprecated. Use SqlParameterCollectionAddWithValue.

Back to top

Type

Member

Message

OracleParameter

Scale

Scale has been deprecated. Use the Math classes to explicitly set the scale of a decimal.

OracleParameter

Precision

Precision has been deprecated. Use the Math classes to explicitly set the precision of a decimal.

OracleParameterCollection

Add(String, Object)

Add(String, Object) has been deprecated. Use OracleParameterCollectionAddWithValue.

Back to top

Type

Member

Message

ComponentDesigner

OnSetComponentDefaults

This method has been deprecated. Use ComponentDesignerInitializeNewComponent instead.

ComponentDesigner

InitializeNonDefault

This method has been deprecated. Use ComponentDesignerInitializeExistingComponent instead.

DesignSurface

CreateComponent

The CreateComponent method has been replaced by CreateInstance(Type).

CodeDomSerializer

SerializeToReferenceExpression

This method has been deprecated. Use SerializeToExpression or GetExpression instead.

ControlDesigner

OnSetComponentDefaults

This method has been deprecated. Use ControlDesignerInitializeNewComponent instead.

HtmlControlDesigner

ShouldCodeSerialize

Use of this property is not recommended because code serialization is not supported.

HtmlControlDesigner

Behavior

The recommended alternative is ControlDesignerTag.

HtmlControlDesigner

OnBehaviorAttached

The recommended alternative is ControlDesignerTag.

HtmlControlDesigner

OnBehaviorDetaching

The recommended alternative is ControlDesignerTag.

HtmlControlDesigner

OnBindingsCollectionChanged

The recommended alternative is to handle the HtmlControlDesigner.DataBindings.Changed event. The DataBindingCollection collection returned by the HtmlControlDesignerDataBindings property allows more control of the data bindings associated with the control.

HtmlControlDesigner

DesignTimeElement

Use of this property generates a compiler error.

Error: This property can no longer be referenced, and is included to support existing compiled applications. The design-time element may not always provide access to the element in the markup. There are alternate methods on WebFormsRootDesigner for handling client script and controls.

ControlDesigner

ReadOnly

The recommended alternative is to inherit from ContainerControlDesigner instead and to use an EditableDesignerRegion. Regions allow for better control of the content in the designer.

ControlDesigner

IsPropertyBound

The recommended alternative is System.Web.UI.Design.ControlDesigner.DataBindings.Contains. The DataBindingCollection class allows more control of the data bindings associated with the control.

ControlDesigner

DesignTimeHtmlRequiresLoadComplete

The recommended alternative is to use ControlDesigner.SetViewFlags(ViewFlags.DesignTimeHtmlRequiresLoadComplete, true).

ControlDesigner

IsDirty

The recommended alternative is to use System.Web.UI.Design.ControlDesigner.Tag.SetDirty and System.Web.UI.Design.ControlDesigner.Tag.IsDirty.

ControlDesigner

RaiseResizeEvent

Use of this method is not recommended because resizing is handled by the ControlDesignerOnComponentChanged method.

ControlDesigner

GetPersistInnerHtml

The recommended alternative is ControlDesignerGetPersistenceContent.

ControlDesigner

OnBindingsCollectionChanged

The recommended alternative is to handle the ControlDesigner.DataBindings.Changed event. The DataBindingCollection collection returned by the ControlDesigner.DataBindings property allows more control of the data bindings associated with the control.

ControlDesigner

OnControlResize

The recommended alternative is OnComponentChanged, which is called when any property of the control is changed.

ControlDesigner

DesignTimeElementView

Use of this property generates a compiler error.

Error: This property can no longer be referenced, and is included to support existing compiled applications. The design-time element view architecture is no longer used.

TemplatedControlDesigner

GetTemplateContainerDataSource

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing, expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

TemplatedControlDesigner

InTemplateMode

The recommended alternative is ControlDesignerInTemplateMode.

TemplatedControlDesigner

GetTemplateEditingVerbs

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

TemplatedControlDesigner

ActiveTemplateEditingFrame

Use of this property is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

TemplatedControlDesigner

GetTemplateContent

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

TemplatedControlDesigner

GetTemplateContainerDataItemProperty

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

TemplatedControlDesigner

EnterTemplateMode

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

TemplatedControlDesigner

ExitTemplateMode

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

TemplatedControlDesigner

SetTemplateContent

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

TemplatedControlDesigner

GetTemplatePropertyParentType

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

TemplatedControlDesigner

CreateTemplateEditingFrame

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

TemplatedControlDesigner

GetCachedTemplateEditingVerbs

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

TemplatedControlDesigner

OnBehaviorAttached

The recommended alternative is ControlDesignerTag.

BaseDataListDesigner

GetTemplateContainerDataSource

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing, expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

BaseDataListDesigner

OnAutoFormat

Use of this method is not recommended because the AutoFormat dialog is launched by the designer host. The list of available AutoFormats is exposed by the ControlDesignerAutoFormats property.

DataGridDesigner

CreateTemplateEditingFrame

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing, expose template data in the TemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

DataGridDesigner

GetCachedTemplateEditingVerbs

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing, expose template data in the TemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

DataGridDesigner

GetTemplateContainerDataItemProperty

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

DataGridDesigner

SetTemplateContent

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

DataGridDesigner

GetTemplatePropertyParentType

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

DataGridDesigner

GetTemplateContent

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

DataListDesigner

GetCachedTemplateEditingVerbs

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

DataListDesigner

GetTemplateContent

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

DataListDesigner

GetTemplateContainerDataItemProperty

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

DataListDesigner

SetTemplateContent

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the ControlDesignerTemplateGroups property and call ControlDesigner.SetViewFlags(ViewFlags.TemplateEditing, true).

PanelDesigner

OnBehaviorAttached

The recommended alternative is ControlDesignerTag.

Back to top

Type

Member

Message

AsyncCompletedEventArgs

#ctor

First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

MemberDescriptor

GetInvokee

This method has been deprecated. Use MemberDescriptorGetInvocationTarget instead.

TypeDescriptor

ComNativeDescriptorHandler

This property has been deprecated. Use a type description provider to supply type information for COM types instead.

DesignerTransactionCloseEventArgs

#ctor(Boolean)

This constructor is obsolete. Use #ctor(Boolean, Boolean) instead.

SelectionTypes

MouseDown

This value has been deprecated. It is no longer supported.

SelectionTypes

Normal

This value has been deprecated. Use SelectionTypesAuto instead.

SelectionTypes

Valid

This value has been deprecated. Use Enum class methods to determine valid values, or use a type converter.

SelectionTypes

MouseUp

This value has been deprecated. It is no longer supported.

SelectionTypes

Click

This value has been deprecated. Use SelectionTypesPrimary instead.

ViewTechnology

WindowsForms

This value has been deprecated. Use ViewTechnologyDefault instead.

ViewTechnology

Passthrough

This value has been deprecated. Use ViewTechnologyDefault instead.

CodeDomProvider

CreateGenerator

Callers should not use the ICodeGenerator interface and should instead use the methods directly on the CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method.

CodeDomProvider

CreateCompiler

Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method.

CodeDomProvider

CreateParser

Callers should not use the ICodeParser interface and should instead use the methods directly on the CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method.

CompilerParameters

Evidence

CAS policy is obsolete and will be removed in a future release of the .NET Framework. Please see Security Changes in the .NET Framework 4 for more information.

CompilerResults

Evidence

CAS policy is obsolete and will be removed in a future release of the .NET Framework. Please see Security Changes in the .NET Framework 4 for more information.

NameObjectCollectionBase

#ctor(IHashCodeProvider, IComparer)

Please use #ctor(IEqualityComparer) instead.

NameObjectCollectionBase

#ctor(Int32, IHashCodeProvider, IComparer)

Please use #ctor(Int32, IEqualityComparer) instead.

NameValueCollection

#ctor(IHashCodeProvider, IComparer)

Please use #ctor(IEqualityComparer) instead.

NameValueCollection

#ctor(Int32, IHashCodeProvider, IComparer)

Please use #ctor(Int32, IEqualityComparer) instead.

SystemEvents

LowMemory

This event has been deprecated.

CSharpCodeProvider

CreateGenerator

Callers should not use the ICodeGenerator interface and should instead use the methods directly on the CodeDomProvider class.

CSharpCodeProvider

CreateCompiler

Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.

VBCodeProvider

CreateGenerator

Callers should not use the ICodeGenerator interface and should instead use the methods directly on the CodeDomProvider class.

VBCodeProvider

CreateCompiler

Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.

Uri

MakeRelative

The method has been deprecated. Please use UriMakeRelativeUri.

Uri

#ctor(String, Boolean)

The constructor has been deprecated. Please use #ctor(String). The dontEscape parameter is deprecated and is always false.

Uri

#ctor(Uri, String, Boolean)

The constructor has been deprecated. Please #ctor(Uri, String). The dontEscape parameter is deprecated and is always false.

Uri

EscapeString

The method has been deprecated. Please use the GetComponents or the static EscapeUriString method to escape a Uri component or a string.

Uri

IsExcludedCharacter

The method has been deprecated. It is not used by the system.

Uri

Parse

The method has been deprecated. It is not used by the system.

Uri

Canonicalize

The method has been deprecated. It is not used by the system.

Uri

Escape

The method has been deprecated. It is not used by the system.

Uri

Unescape

The method has been deprecated. Please use the UriGetComponents or the static UriEscapeUriString method to escape a Uri component or a string.

Uri

CheckSecurity

The method has been deprecated. It is not used by the system.

Uri

IsReservedCharacter

The method has been deprecated. It is not used by the system.

Uri

IsBadFileSystemCharacter

The method has been deprecated. It is not used by the system.

Dns

GetHostByAddress(String)

GetHostByAddress(String) is obsoleted for this type, please use DnsGetHostEntry(String) instead.

Dns

GetHostByAddress(IPAddress)

GetHostByAddress(IPAddress) is obsoleted for this type, please use DnsGetHostEntry(IPAddress) instead.

Dns

GetHostByName

GetHostByName is obsoleted for this type, please use DnsGetHostEntry(String) instead.

Dns

BeginResolve(String, AsyncCallback, Object)

BeginResolve(String, AsyncCallback, Object) is obsoleted for this type, please use DnsBeginGetHostEntry(String, AsyncCallback, Object) instead.

Dns

EndResolve

EndResolve is obsoleted for this type, please use DnsEndGetHostEntry instead.

Dns

Resolve

Resolve is obsoleted for this type, please use DnsGetHostEntry(String) instead.

Dns

BeginGetHostByName

BeginGetHostByName is obsoleted for this type, please use DnsBeginGetHostEntry(String, AsyncCallback, Object) instead.

Dns

EndGetHostByName

EndGetHostByName is obsoleted for this type, please use DnsEndGetHostEntry instead.

FileWebRequest

#ctor

Serialization is obsoleted for this type.

FileWebResponse

#ctor

Serialization is obsoleted for this type.

HttpWebRequest

#ctor

First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

HttpWebRequest

#ctor(SerializationInfo, StreamingContext)

Serialization is obsoleted for this type.

HttpWebResponse

#ctor

First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

HttpWebResponse

#ctor

Serialization is obsoleted for this type.

IPAddress

Address

This property has been deprecated. It is address family dependent. Please use the IPAddressEquals method to perform comparisons.

ServicePointManager

CertificatePolicy

CertificatePolicy is obsoleted for this type, please use ServicePointManagerServerCertificateValidationCallback instead.

WebClient

AllowReadStreamBuffering

First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

WebClient

AllowWriteStreamBuffering

First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

WebClient

OnWriteStreamClosed

First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

WebClient

WriteStreamClosed

First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

WebProxy

GetDefaultProxy

This method has been deprecated. Please use the proxy selected for you by default.

WebRequest

CreatorInstance

First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

WebRequest

RegisterPortableWebRequestCreator

First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

WriteStreamClosedEventArgs

#ctor

First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

WriteStreamClosedEventArgs

Error

First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

NetworkChange

#ctor

First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

NetworkChange

RegisterNetworkChange(NetworkChange)

First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Socket

SupportsIPv6

SupportsIPv6 is obsoleted for this type, please use SocketOSSupportsIPv6 instead.

Socket

SupportsIPv4

SupportsIPv4 is obsoleted for this type, please use SocketOSSupportsIPv4 instead.

SocketAsyncEventArgs

SocketClientAccessPolicyProtocol

First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

TcpListener

#ctor(Int32)

This method has been deprecated. Please use #ctor(IPAddress, Int32) instead.

MailMessage

ReplyTo

ReplyTo is obsoleted for this type. Please use MailMessageReplyToList instead which can accept multiple addresses.

ConfigurationException

#ctor(String, Exception)

This class is obsolete. To create a new exception create a ConfigurationErrorsException.

DynamicRoleClaimProvider

AddDynamicRoleClaims

First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

Use ClaimsAuthenticationManager to add claims to a ClaimsIdentity.

ConfigurationException

#ctor

This class is obsolete. To create a new exception create a ConfigurationErrorsException.

ConfigurationException

GetXmlNodeLineNumber

This class is obsolete. Use GetLineNumber(XmlNode) instead

ConfigurationException

#ctor(String, String, Int32)

This class is obsolete. To create a new exception create a ConfigurationErrorsException.

ConfigurationException

#ctor(String)

This class is obsolete. To create a new exception create a ConfigurationErrorsException.

ConfigurationException

#ctor(String, Exception, String, Int32)

This class is obsolete. To create a new exception create a ConfigurationErrorsException.

ConfigurationException

#ctor(String, XmlNode)

This class is obsolete. To create a new exception create a ConfigurationErrorsException.

ConfigurationException

#ctor(String, Exception, XmlNode)

This class is obsolete. To create a new exception create a ConfigurationErrorsException.

ConfigurationException

GetXmlNodeFilename

This class is obsolete. Use ConfigurationErrorsExceptionGetFilename instead.

ConfigurationSettings

AppSettings

This method is obsolete. It has been replaced by ConfigurationManagerAppSettings.

ConfigurationSettings

GetConfig

This method is obsolete. It has been replaced by ConfigurationManagerGetSection.

EventLog

CreateEventSource(String, String, String)

This method has been deprecated. Please use CreateEventSource(EventSourceCreationData) instead.

EventLogEntry

EventID

This property has been deprecated. Please use EventLogEntryInstanceId instead.

EventLogPermissionAccess

Audit

This member has been deprecated. Please use EventLogPermissionAccessAdminister instead.

EventLogPermissionAccess

Browse

This member has been deprecated. Please use EventLogPermissionAccessAdminister instead.

EventLogPermissionAccess

Instrument

This member has been deprecated. Please use EventLogPermissionAccessWrite instead.

InstanceDataCollection

#ctor

This constructor has been deprecated. Please use InstanceDataCollectionCollectionItem to get an instance of this collection instead.

InstanceDataCollectionCollection

#ctor

This constructor has been deprecated. Please use PerformanceCounterCategoryReadCategory to get an instance of this collection instead.

PerformanceCounter

DefaultFileMappingSize

This field has been deprecated and is not used. Use machine.config or an application configuration file to set the size of the PerformanceCounter file mapping.

PerformanceCounterCategory

Create(String, String, String, String)

This method has been deprecated. Please use Create(String, String, PerformanceCounterCategoryType, String, String) instead.

PerformanceCounterCategory

Create(String, String, CounterCreationDataCollection)

This method has been deprecated. Please use Create(String, String, PerformanceCounterCategoryType, CounterCreationDataCollection) instead.

PerformanceCounterManager

#ctor

This class has been deprecated. Use the performance counters through the PerformanceCounter class instead.

PerformanceCounterManager

System#Diagnostics#ICollectData#CollectData

This class has been deprecated. Use the performance counters through the PerformanceCounter class instead.

PerformanceCounterManager

System#Diagnostics#ICollectData#CloseData

This class has been deprecated. Use the performance counters through the PerformanceCounter class instead.

PerformanceCounterPermissionAccess

Instrument

This member has been deprecated. Use PerformanceCounterPermissionAccessWrite instead.

PerformanceCounterPermissionAccess

Browse

This member has been deprecated. Use PerformanceCounterPermissionAccessRead instead.

Process

WorkingSet

This property has been deprecated. Please use ProcessWorkingSet64 instead.

Process

VirtualMemorySize

This property has been deprecated. Please use ProcessVirtualMemorySize64 instead.

Process

PeakPagedMemorySize

This property has been deprecated. Please use ProcessPeakPagedMemorySize64 instead.

Process

PrivateMemorySize

This property has been deprecated. Please use ProcessPrivateMemorySize64 instead.

Process

PagedSystemMemorySize

This property has been deprecated. Please use ProcessPagedSystemMemorySize64 instead.

Process

NonpagedSystemMemorySize

This property has been deprecated. Please use ProcessNonpagedSystemMemorySize64 instead.

Process

PeakVirtualMemorySize

This property has been deprecated. Please use ProcessPeakVirtualMemorySize64 instead.

Process

PeakWorkingSet

This property has been deprecated. Please use ProcessPeakWorkingSet64 instead.

Process

PagedMemorySize

This property has been deprecated. Please use PagedMemorySize64 instead.

Back to top

Type

Member

Message

FontFamily

GetFamilies

Do not use the GetFamilies method; use the FontFamilyFamilies property instead.

EncoderParameter

#ctor(Encoder, Int32, Int32, Int32)

First deprecated in the .NET Framework 4.5.

This constructor has been deprecated. Use #ctor(Encoder, Int32, EncoderParameterValueType, IntPtr).

Back to top

Type

Member

Message

MessageQueue

GetEnumerator

This method returns a MessageEnumerator that implements the MessageEnumeratorRemoveCurrent family of methods incorrectly. Please use MessageQueueGetMessageEnumerator2 instead.

MessageQueue

GetMessageEnumerator

This method returns a MessageEnumerator that implements the MessageEnumeratorRemoveCurrent family of methods incorrectly. Please use MessageQueueGetMessageEnumerator2 instead.

Back to top

Type

Member

Message

BasicHttpBinding

EnableHttpCookieContainer

First deprecated in the .NET Framework 4.5.

This property is obsolete. To enable Http CookieContainer, use the BasicHttpBindingAllowCookies property instead.

BindingsSection

NetPeerTcpBinding

First deprecated in the .NET Framework 4.5.

The peer channel feature is obsolete and will be removed in the future.

ClientOperationCompatBase

ParameterInspectors

First deprecated in the .NET Framework 4.5.

Use of this type generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

ClientRuntimeCompatBase

MessageInspectors

First deprecated in the .NET Framework 4.5.

Use of this type generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

ClientRuntimeCompatBase

Operations

First deprecated in the .NET Framework 4.5.

Use of this type generates a compiler error.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

WindowsClientCredential

AllowNtlm

This property is deprecated and is maintained for backward compatibility only. The local machine policy will be used to determine if NTLM should be used.

Back to top

Type

Member

Message

UdpAnnouncementEndpoint

TransportSettings

First deprecated in the .NET Framework 4.5.

The TransportSettings property is obsolete. Consider using UdpTransportBindingElement for setting the transport properties.

UdpDiscoveryEndpoint

TransportSettings

First deprecated in the .NET Framework 4.5.

The TransportSettings property is obsolete. Consider using UdpTransportBindingElement for setting the transport properties.

Back to top

Type

Member

Message

Chart

ViewStateData

ViewStateData has been deprecated. Please investigate ControlViewState instead.

Back to top

Type

Member

Message

AuthenticationMode

Passport

This field is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.

AuthenticationSection

Passport

This property is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.

HttpCapabilitiesBase

JavaScript

The recommended alternative is the HttpCapabilitiesBaseEcmaScriptVersion property. A VersionMajor version value greater than or equal to 1 implies JavaScript support.

SystemWebSectionGroup

MobileControls

System.Web.Mobile.dll is obsolete.

HttpContext

GetAppConfig

The recommended alternative is WebConfigurationManagerGetWebApplicationSection in System.Web.dll.

HttpContext

GetConfig

The recommended alternative is HttpContextGetSection in System.Web.dll.

HttpUtility

UrlEncodeUnicode

First deprecated in the .NET Framework 4.5.

This method produces non-standards-compliant output and has interoperability issues. The preferred alternative is UrlEncode(String).

HttpUtility

UrlEncodeUnicodeToBytes

First deprecated in the .NET Framework 4.5.

This method produces non-standards-compliant output and has interoperability issues. The preferred alternative is UrlEncodeToBytes(String).

UrlRoutingModule

PostMapRequestHandler

This method is obsolete. Override the Init method to use the PostMapRequestHandler event.

FormsAuthentication

Authenticate

First deprecated in the .NET Framework 4.5.

The recommended alternative is to use the Membership APIs, such as MembershipValidateUser.

FormsAuthentication

HashPasswordForStoringInConfigFile

First deprecated in the .NET Framework 4.5.

The recommended alternative is to use the Membership APIs, such as MembershipCreateUser.

MachineKey

Decode

First deprecated in the .NET Framework 4.5.

This method is obsolete and is only provided for compatibility with existing code. It is recommended that new code use the Protect and Unprotect methods instead.

MachineKey

Encode

First deprecated in the .NET Framework 4.5.

Page

FileDependencies

The recommended alternative is HttpResponseAddFileDependencies.

Page

RegisterOnSubmitStatement

The recommended alternative is Page.ClientScript.RegisterOnSubmitStatement(Type type, String key, String script).

Page

RegisterArrayDeclaration

The recommended alternative is Page.ClientScript.RegisterArrayDeclaration(String arrayName, String arrayValue).

Page

GetPostBackClientEvent

The recommended alternative is Page.ClientScript.GetPostBackEventReference.

Page

GetPostBackClientHyperlink

The recommended alternative is Page.ClientScript.GetPostBackClientHyperlink.

Page

IsStartupScriptRegistered

The recommended alternative is Page.ClientScript.IsStartupScriptRegistered(String key).

Page

RegisterHiddenField

The recommended alternative is Page.ClientScript.RegisterHiddenField(String hiddenFieldName, String hiddenFieldInitialValue).

Page

RegisterClientScriptBlock

The recommended alternative is PageClientScript.RegisterClientScriptBlock(Type type, String key, String script).

Page

SmartNavigation

The recommended alternative is PageSetFocus and PageMaintainScrollPositionOnPostback.

Page

GetPostBackEventReference(Control)

The recommended alternative is Page.ClientScript.GetPostBackEventReference.

Page

RegisterStartupScript

The recommended alternative is Page.ClientScript.RegisterStartupScript(Type type, String key, String script).

Page

IsClientScriptBlockRegistered

The recommended alternative is Page.ClientScript.IsClientScriptBlockRegistered(String key).

Page

GetPostBackEventReference(Control, String)

The recommended alternative is Page.ClientScript.GetPostBackEventReference.

TemplateControl

AutoHandlers

Use of this property is not recommended because it is no longer useful.

GridView

CreateAutoGeneratedColumn

First deprecated in the .NET Framework 4.5.

This method is kept for backward compatibility. This API is no longer used.

Xml

Document

The recommended alternative is the XmlXPathNavigator property. Create a XPathDocument and call XPathDocumentCreateNavigator to create an XPathNavigator.

Back to top

Type

Member

Message

DynamicDataExtensions

EnablePersistedSelection

Use the EnablePersistedSelection property on a databound control such as GridView or ListView.

Back to top

Type

Member

Message

SoapHeaderAttribute

Required

This property will be removed from a future version. The presence of a particular header in a SOAP message is no longer enforced.

DiscoveryClientProtocol

LoadExternals

This method will be removed from a future version. The method call is no longer required for resource discovery.

Back to top

Type

Member

Message

AccessibleStates

Valid

This enumeration value has been deprecated. There is no replacement.

ComboBox

AddItemsCore

This method has been deprecated. There is no replacement.

Control

RenderRightToLeft

This property has been deprecated. Please use ControlRightToLeft instead.

Control

Scale(Single)

This method has been deprecated. Use the ControlScale(SizeF) method instead.

Control

Scale(Single, Single)

This method has been deprecated. Use the ControlScale(SizeF) method instead.

Form

ApplyAutoScaling

This method has been deprecated. Use the PerformAutoScale method instead.

Form

GetAutoScaleSize

This method has been deprecated. Use the ContainerControlAutoScaleDimensions property instead.

Form

AutoScale

This property has been deprecated. Use the ContainerControlAutoScaleMode property instead.

Label

RenderTransparent

This property has been deprecated. Use BackColor instead.

ListBox

AddItemsCore

This method has been deprecated. There is no replacement.

PrintPreviewDialog

AutoScaleBaseSize

This property has been deprecated. Use the ContainerControlAutoScaleDimensions property instead.

Back to top

Type

Member

Message

MarkupExtensionReturnTypeAttribute

#ctor(Type, Type)

The expressionType argument is not used by the XAML parser. To specify the expected return type, use MarkupExtensionReturnTypeAttribute#ctor(Type). To specify custom handling for expression types, use XamlSetMarkupExtensionAttribute.

MarkupExtensionReturnTypeAttribute

ExpressionType

This is not used by the XAML parser. Please look at XamlSetMarkupExtensionAttribute.

Back to top

Type

Member

Message

XmlConvert

ToDateTime(String)

Use XmlConvertToDateTime(String, XmlDateTimeSerializationMode).

XmlConvert

ToString(DateTime)

Use XmlConvertToString(DateTime, XmlDateTimeSerializationMode).

ValidationType

Auto

Validation type should be specified as ValidationTypeDTD or ValidationTypeSchema.

ValidationType

ValidationTypeXDR

XDR Validation through XmlValidatingReader is obsoleted.

XmlReaderSettings

#ctor(XmlResolver)

First deprecated in the .NET Framework 4.5.

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

XmlReaderSettings

ProhibitDtd

Use the XmlReaderSettingsDtdProcessing property instead.

XmlTextReader

ProhibitDtd

Use the XmlTextReaderDtdProcessing property instead.

XmlSchema

Compile(ValidationEventHandler)

Use XmlSchemaSet for schema compilation and validation.

XmlSchema

Compile(ValidationEventHandler, XmlResolver)

Use XmlSchemaSet for schema compilation and validation.

XmlSchemaAttribute

AttributeType

This property has been deprecated. Please use XmlSchemaAttributeAttributeSchemaType property, which returns a strongly typed attribute type.

XmlSchemaType

BaseSchemaType

This property has been deprecated. Please use the XmlSchemaTypeBaseXmlSchemaType property, which returns a strongly typed base schema type.

XmlSchemaElement

ElementType

This property has been deprecated. Please use the XmlSchemaElementElementSchemaType property, which returns a strongly typed element type.

CodeIdentifier

#ctor

This class should never get constructed as it contains only static methods.

XmlSerializer

FromMappings(XmlMapping, Evidence)

This method is obsolete and will be removed in a future release of the .NET Framework. Please use an overload of XmlSerializerFromMappings that does not take an Evidence parameter.

XmlSerializer

#ctor(Type, XmlAttributeOverrides, Type, XmlRootAttribute, String, String, Evidence)

This method is obsolete and will be removed in a future release of the .NET Framework. Please use an XmlSerializer#ctor constructor overload that does not take an Evidence parameter.

XmlSerializerFactory

CreateSerializer(Type, XmlAttributeOverrides, Type, XmlRootAttribute, String, String, Evidence)

This method is obsolete and will be removed in a future release of the .NET Framework. Please use an overload of XmlSerializerFactoryCreateSerializer that does not take an Evidence parameter.

Back to top

The following tables list the obsolete members in Microsoft assemblies. These are special-purpose assemblies and include assemblies that target an individual language (such as Microsoft.VisualBasic.dll) or a build system (such as Microsoft.Build.Engine.dll).

The IEHost.dll and IEExec.exe assemblies have been removed from the .NET Framework. All of their types and their members are obsolete and are not supported in the .NET Framework 4.5. These assemblies were used to host Windows Forms controls and to run executables in Internet Explorer. Alternatives to this technology include ClickOnce, XAML Browser Applications (XBAP), and Microsoft Silverlight.

Back to top

Type

Member

Message

SymBinder

GetReader(Int32, String, String)

The recommended alternative is SymBinderGetReader(IntPtr, String, String). ISymbolBinder1GetReader takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures.

Back to top

Type

Member

Message

Engine

#ctor(String)

If you were simply passing in the .NET Framework location as the BinPath, just change to the parameterless Engine#ctor constructor. Otherwise, you can define custom toolsets in the registry or configuration file, or add elements to the Engine's ToolsetCollection. Then use either the Engine#ctor or Engine#ctor(ToolsetDefinitionLocations) constructor instead.

Engine

BinPath

Avoid setting BinPath. If you were simply passing in the .NET Framework location as the BinPath, no other action is necessary. Otherwise, define Toolsets instead in the registry or config file, or by adding elements to the Engine's ToolsetCollection, in order to use a custom BinPath.

Back to top

Type

Member

Message

ContentType

ItemGroupName

First deprecated in the .NET Framework 4.5.

Use of this member generates a compiler error.

Use the ContentTypeItemType property instead.

Back to top

Type

Member

Message

EntityDeploy

EntityDataModelEmbeddedResources

First deprecated in the .NET Framework 4.5.

Used only for version 3.5 backward compatibility.

Back to top

Type

Member

Message

FileSystem

FilePut(Object, Object, Object)

This member has been deprecated. Please use FileSystemFilePutObject to write Object types, or coerce FileNumber and RecordNumber to Int32 for writing non-object types.

Conversions

FallbackUserDefinedConversion

Use of this member generates a compiler error.

Do not use this method.

NewLateBinding

FallbackSetComplex

Use of this member generates a compiler error.

Do not use this method.

NewLateBinding

FallbackInvokeDefault1

Use of this member generates a compiler error.

Do not use this method.

NewLateBinding

FallbackGet

Use of this member generates a compiler error.

Do not use this method.

NewLateBinding

FallbackInvokeDefault2

Use of this member generates a compiler error.

Do not use this method.

NewLateBinding

FallbackIndexSet

Use of this member generates a compiler error.

Do not use this method.

NewLateBinding

FallbackSet

Use of this member generates a compiler error.

Do not use this method.

NewLateBinding

FallbackIndexSetComplex

Use of this member generates a compiler error.

Do not use this method.

NewLateBinding

FallbackCall

Use of this member generates a compiler error.

Do not use this method.

Operators

FallbackInvokeUserDefinedOperator

Use of this member generates a compiler error.

Do not use this method.

RegistryProxy

DynData

The DynData registry key works only on Win9x, which is not supported by this version of the .NET Framework. Use the PerformanceData registry key instead. This property will be removed from a future version of the Framework.

Back to top

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.