Aracılığıyla paylaş


VersioningHelper Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Provides methods to aid developers in writing version-safe code. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  System.Runtime.Versioning.VersioningHelper

Namespace:  System.Runtime.Versioning
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public NotInheritable Class VersioningHelper
public static class VersioningHelper

Methods

  Name Description
Public methodStatic member MakeVersionSafeName(String, ResourceScope, ResourceScope) Infrastructure. Returns a version-safe name based on the specified resource name and the intended resource consumption source.
Public methodStatic member MakeVersionSafeName(String, ResourceScope, ResourceScope, Type) Infrastructure. Returns a version-safe name based on the specified resource name, the intended resource consumption scope, and the type using the resource.

Top

Remarks

This class is intended to facilitate the use of the ResourceExposureAttribute class.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.