VersioningHelper.MakeVersionSafeName メソッド

定義

バージョン セーフな名前を提供します。

オーバーロード

名前 説明
MakeVersionSafeName(String, ResourceScope, ResourceScope)

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

指定したリソース名と目的のリソース消費ソースに基づいて、バージョン セーフな名前を返します。

MakeVersionSafeName(String, ResourceScope, ResourceScope, Type)

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

指定したリソース名、目的のリソース消費スコープ、およびリソースを使用する種類に基づいて、バージョン セーフな名前を返します。

MakeVersionSafeName(String, ResourceScope, ResourceScope)

ソース:
VersioningHelper.cs
ソース:
VersioningHelper.cs
ソース:
VersioningHelper.cs
ソース:
VersioningHelper.cs
ソース:
VersioningHelper.cs

指定したリソース名と目的のリソース消費ソースに基づいて、バージョン セーフな名前を返します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

public:
 static System::String ^ MakeVersionSafeName(System::String ^ name, System::Runtime::Versioning::ResourceScope from, System::Runtime::Versioning::ResourceScope to);
public static string MakeVersionSafeName(string? name, System.Runtime.Versioning.ResourceScope from, System.Runtime.Versioning.ResourceScope to);
public static string MakeVersionSafeName(string name, System.Runtime.Versioning.ResourceScope from, System.Runtime.Versioning.ResourceScope to);
static member MakeVersionSafeName : string * System.Runtime.Versioning.ResourceScope * System.Runtime.Versioning.ResourceScope -> string
Public Shared Function MakeVersionSafeName (name As String, from As ResourceScope, to As ResourceScope) As String

パラメーター

name
String

リソースの名前。

from
ResourceScope

リソースのスコープ。

to
ResourceScope

目的のリソース消費スコープ。

返品

バージョン セーフな名前。

注釈

元の名前は、スコープ関連のサフィックスと共に返されます。 サフィックスには、プロセス ID、現在の AppDomain ID、またはその両方を含めることができます。

適用対象

MakeVersionSafeName(String, ResourceScope, ResourceScope, Type)

ソース:
VersioningHelper.cs
ソース:
VersioningHelper.cs
ソース:
VersioningHelper.cs
ソース:
VersioningHelper.cs
ソース:
VersioningHelper.cs

指定したリソース名、目的のリソース消費スコープ、およびリソースを使用する種類に基づいて、バージョン セーフな名前を返します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

public:
 static System::String ^ MakeVersionSafeName(System::String ^ name, System::Runtime::Versioning::ResourceScope from, System::Runtime::Versioning::ResourceScope to, Type ^ type);
public static string MakeVersionSafeName(string? name, System.Runtime.Versioning.ResourceScope from, System.Runtime.Versioning.ResourceScope to, Type? type);
public static string MakeVersionSafeName(string name, System.Runtime.Versioning.ResourceScope from, System.Runtime.Versioning.ResourceScope to, Type type);
static member MakeVersionSafeName : string * System.Runtime.Versioning.ResourceScope * System.Runtime.Versioning.ResourceScope * Type -> string
Public Shared Function MakeVersionSafeName (name As String, from As ResourceScope, to As ResourceScope, type As Type) As String

パラメーター

name
String

リソースの名前。

from
ResourceScope

スコープ範囲の先頭。

to
ResourceScope

スコープ範囲の末尾。

type
Type

リソースの Type

返品

バージョン セーフな名前。

例外

fromtoの値が無効です。 ResourceScope列挙型のリソースの種類は、より制限の厳しいリソースの種類から、より一般的なリソースの種類に変換されます。

typenullです。

注釈

元の名前は、スコープ関連のサフィックスと共に返されます。

適用対象