Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs.microsoft.com usages to learn.microsoft.com, remove locale from associated urls #9976

Merged
merged 9 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{9E46617A-3919-4B6F-94D6-B3873EC9E79C}</ProjectGuid>
<RootNamespace>NDP_UE_CPP</RootNamespace>
<Keyword>ManagedCProj</Keyword>
</PropertyGroup>
<!-- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<CLRSupport>Pure</CLRSupport>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<CLRSupport>Pure</CLRSupport>
</PropertyGroup>
<!-- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> -->
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.21125.1</_ProjectFileVersion>
<OutDir>.\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>
</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AssemblyDebug>true</AssemblyDebug>
<SubSystem>Windows</SubSystem>
<EntryPointSymbol>main</EntryPointSymbol>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>
</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<EntryPointSymbol>main</EntryPointSymbol>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<Reference Include="System">
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
</Reference>
<Reference Include="PresentationCore">
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
</Reference>
<Reference Include="PresentationFramework">
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
</Reference>
<Reference Include="WindowsBase">
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
</Reference>
</ItemGroup>
<ItemGroup>
<ClCompile Include="properties.cpp" />
</ItemGroup>
<!-- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> -->
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace NDP_UE_CPP
LogTableOverflowException( String^ auxMessage, Exception^ inner )
: Exception( String::Format( "{0} - {1}", overflowMessage, auxMessage ), inner )
{
this->HelpLink = "https://docs.microsoft.com";
this->HelpLink = "https://learn.microsoft.com";
this->Source = "Exception_Class_Samples";
}

Expand Down Expand Up @@ -106,7 +106,7 @@ Message ---
The log table has overflowed. - Record "Log record number 5" was not logged.

HelpLink ---
https://docs.microsoft.com
https://learn.microsoft.com

Source ---
Exception_Class_Samples
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ static async Task Main()
// Call asynchronous network methods in a try/catch block to handle exceptions
try
{
HttpResponseMessage response = await client.GetAsync("https://docs.microsoft.com/");
HttpResponseMessage response = await client.GetAsync("https://learn.microsoft.com/");

response.EnsureSuccessStatusCode();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static async Task Main()
// Call asynchronous network methods in a try/catch block to handle exceptions
try
{
HttpResponseMessage response = await client.GetAsync("https://docs.microsoft.com/");
HttpResponseMessage response = await client.GetAsync("https://learn.microsoft.com/");

response.EnsureSuccessStatusCode();

Expand Down
4 changes: 2 additions & 2 deletions snippets/csharp/System/Exception/HelpLink/properties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class LogTableOverflowException : Exception
base( String.Format( "{0} - {1}",
overflowMessage, auxMessage ), inner )
{
this.HelpLink = "https://docs.microsoft.com";
this.HelpLink = "https://learn.microsoft.com";
this.Source = "Exception_Class_Samples";
}
}
Expand Down Expand Up @@ -100,7 +100,7 @@ public static void Main()
The log table has overflowed. - Record "Log record number 5" was not logged.

HelpLink ---
https://docs.microsoft.com
https://learn.microsoft.com

Source ---
Exception_Class_Samples
Expand Down
4 changes: 2 additions & 2 deletions snippets/fsharp/System/Exception/HelpLink/properties.fs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type LogTableOverflowException(auxMessage, inner) as this =
inherit Exception($"%s{overflowMessage} - %s{auxMessage}", inner)

do
this.HelpLink <- "https://docs.microsoft.com"
this.HelpLink <- "https://learn.microsoft.com"
this.Source <- "Exception_Class_Samples"

type LogTable(numElements) =
Expand Down Expand Up @@ -65,7 +65,7 @@ with ex ->
// The log table has overflowed. - Record "Log record number 5" was not logged.

// HelpLink ---
// https://docs.microsoft.com
// https://learn.microsoft.com

// Source ---
// Exception_Class_Samples
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Namespace NDP_UE_VB
MyBase.New( String.Format( "{0} - {1}", _
overflowMessage, auxMessage ), inner )

Me.HelpLink = "https://docs.microsoft.com"
Me.HelpLink = "https://learn.microsoft.com"
Me.Source = "Exception_Class_Samples"

End Sub
Expand Down Expand Up @@ -101,7 +101,7 @@ End Namespace ' NDP_UE_VB
' The log table has overflowed. - Record "Log record number 5" was not logged.
'
' HelpLink ---
' https://docs.microsoft.com
' https://learn.microsoft.com
'
' Source ---
' Exception_Class_Samples
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<RootNamespace>NDP_UE_VB</RootNamespace>
<TargetFrameworks>net6.0;net48</TargetFrameworks>
</PropertyGroup>

</Project>
22 changes: 11 additions & 11 deletions xml/Microsoft.Aspnet.Snapin/AspNetManagementUtility.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
For more information about programming with the AspNetManagementUtility class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://docs.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).
For more information about programming with the AspNetManagementUtility class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://learn.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).

]]></format>
</remarks>
Expand All @@ -66,7 +66,7 @@ For more information about programming with the AspNetManagementUtility class an
<format type="text/markdown"><![CDATA[

## Remarks
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://docs.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://learn.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).

]]></format>
</remarks>
Expand Down Expand Up @@ -103,7 +103,7 @@ For more information about programming with the <xref:Microsoft.Aspnet.Snapin.As
<format type="text/markdown"><![CDATA[

## Remarks
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://docs.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://learn.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).

]]></format>
</remarks>
Expand Down Expand Up @@ -142,7 +142,7 @@ For more information about programming with the <xref:Microsoft.Aspnet.Snapin.As
<format type="text/markdown"><![CDATA[

## Remarks
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://docs.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://learn.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).

]]></format>
</remarks>
Expand Down Expand Up @@ -189,7 +189,7 @@ For more information about programming with the <xref:Microsoft.Aspnet.Snapin.As
<format type="text/markdown"><![CDATA[

## Remarks
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://docs.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://learn.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).

]]></format>
</remarks>
Expand Down Expand Up @@ -219,7 +219,7 @@ For more information about programming with the <xref:Microsoft.Aspnet.Snapin.As
<format type="text/markdown"><![CDATA[

## Remarks
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://docs.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://learn.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).

]]></format>
</remarks>
Expand Down Expand Up @@ -254,7 +254,7 @@ For more information about programming with the <xref:Microsoft.Aspnet.Snapin.As
<format type="text/markdown"><![CDATA[

## Remarks
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://docs.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://learn.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).

]]></format>
</remarks>
Expand Down Expand Up @@ -308,7 +308,7 @@ If the function succeeds, the return value is one of the following menu-item val
<format type="text/markdown"><![CDATA[

## Remarks
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://docs.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://learn.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).

]]></format>
</remarks>
Expand Down Expand Up @@ -345,7 +345,7 @@ For more information about programming with the <xref:Microsoft.Aspnet.Snapin.As
<format type="text/markdown"><![CDATA[

## Remarks
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://docs.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://learn.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).

]]></format>
</remarks>
Expand Down Expand Up @@ -386,7 +386,7 @@ For more information about programming with the <xref:Microsoft.Aspnet.Snapin.As
<format type="text/markdown"><![CDATA[

## Remarks
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://docs.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://learn.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).

]]></format>
</remarks>
Expand Down Expand Up @@ -427,7 +427,7 @@ For more information about programming with the <xref:Microsoft.Aspnet.Snapin.As
<format type="text/markdown"><![CDATA[

## Remarks
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://docs.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.AspNetManagementUtility> class and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://learn.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).

]]></format>
</remarks>
Expand Down
2 changes: 1 addition & 1 deletion xml/Microsoft.Aspnet.Snapin/CLSID.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ For more information:

- About unique identifiers and their format, see <xref:System.Guid>.

- Programming with the CLSID structure and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://docs.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).
- Programming with the CLSID structure and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://learn.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).

]]></format>
</remarks>
Expand Down
2 changes: 1 addition & 1 deletion xml/Microsoft.Aspnet.Snapin/CONTEXTMENUITEM.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
## Remarks
Building the shortcut menu starts at the root. Each new item goes at the end of the submenu or insertion point where you insert the item.

For more information about programming with the CONTEXTMENUITEM structure and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://docs.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).
For more information about programming with the CONTEXTMENUITEM structure and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://learn.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).

]]></format>
</remarks>
Expand Down
2 changes: 1 addition & 1 deletion xml/Microsoft.Aspnet.Snapin/DialogProc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
For more information about programming with the DialogProc function and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://docs.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).
For more information about programming with the DialogProc function and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://learn.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).

]]></format>
</remarks>
Expand Down
Loading
Loading