Skip to content

Commit 100dc0e

Browse files
authored
Update docs.microsoft.com usages to learn.microsoft.com, remove locale from associated urls (#9976)
1 parent 885dc23 commit 100dc0e

File tree

1,808 files changed

+18123
-17991
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,808 files changed

+18123
-17991
lines changed
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|Win32">
5+
<Configuration>Debug</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Release|Win32">
9+
<Configuration>Release</Configuration>
10+
<Platform>Win32</Platform>
11+
</ProjectConfiguration>
12+
</ItemGroup>
13+
<PropertyGroup Label="Globals">
14+
<ProjectGuid>{9E46617A-3919-4B6F-94D6-B3873EC9E79C}</ProjectGuid>
15+
<RootNamespace>NDP_UE_CPP</RootNamespace>
16+
<Keyword>ManagedCProj</Keyword>
17+
</PropertyGroup>
18+
<!-- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> -->
19+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
20+
<ConfigurationType>Application</ConfigurationType>
21+
<CharacterSet>Unicode</CharacterSet>
22+
<CLRSupport>Pure</CLRSupport>
23+
<WholeProgramOptimization>true</WholeProgramOptimization>
24+
</PropertyGroup>
25+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
26+
<ConfigurationType>Application</ConfigurationType>
27+
<CharacterSet>Unicode</CharacterSet>
28+
<CLRSupport>Pure</CLRSupport>
29+
</PropertyGroup>
30+
<!-- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> -->
31+
<ImportGroup Label="ExtensionSettings">
32+
</ImportGroup>
33+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
34+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
35+
</ImportGroup>
36+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
37+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
38+
</ImportGroup>
39+
<PropertyGroup Label="UserMacros" />
40+
<PropertyGroup>
41+
<_ProjectFileVersion>10.0.21125.1</_ProjectFileVersion>
42+
<OutDir>.\</OutDir>
43+
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
44+
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
45+
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
46+
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
47+
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
48+
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
49+
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
50+
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
51+
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
52+
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
53+
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
54+
</PropertyGroup>
55+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
56+
<ClCompile>
57+
<Optimization>Disabled</Optimization>
58+
<PreprocessorDefinitions>WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
59+
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
60+
<PrecompiledHeader>
61+
</PrecompiledHeader>
62+
<WarningLevel>Level3</WarningLevel>
63+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
64+
</ClCompile>
65+
<Link>
66+
<AdditionalDependencies>
67+
</AdditionalDependencies>
68+
<GenerateDebugInformation>true</GenerateDebugInformation>
69+
<AssemblyDebug>true</AssemblyDebug>
70+
<SubSystem>Windows</SubSystem>
71+
<EntryPointSymbol>main</EntryPointSymbol>
72+
<RandomizedBaseAddress>false</RandomizedBaseAddress>
73+
<DataExecutionPrevention>
74+
</DataExecutionPrevention>
75+
<TargetMachine>MachineX86</TargetMachine>
76+
</Link>
77+
</ItemDefinitionGroup>
78+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
79+
<ClCompile>
80+
<PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
81+
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
82+
<PrecompiledHeader>
83+
</PrecompiledHeader>
84+
<WarningLevel>Level3</WarningLevel>
85+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
86+
</ClCompile>
87+
<Link>
88+
<AdditionalDependencies>
89+
</AdditionalDependencies>
90+
<GenerateDebugInformation>true</GenerateDebugInformation>
91+
<SubSystem>Windows</SubSystem>
92+
<EntryPointSymbol>main</EntryPointSymbol>
93+
<RandomizedBaseAddress>false</RandomizedBaseAddress>
94+
<DataExecutionPrevention>
95+
</DataExecutionPrevention>
96+
<TargetMachine>MachineX86</TargetMachine>
97+
</Link>
98+
</ItemDefinitionGroup>
99+
<ItemGroup>
100+
<Reference Include="System">
101+
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
102+
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
103+
</Reference>
104+
<Reference Include="PresentationCore">
105+
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
106+
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
107+
</Reference>
108+
<Reference Include="PresentationFramework">
109+
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
110+
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
111+
</Reference>
112+
<Reference Include="WindowsBase">
113+
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
114+
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
115+
</Reference>
116+
</ItemGroup>
117+
<ItemGroup>
118+
<ClCompile Include="properties.cpp" />
119+
</ItemGroup>
120+
<!-- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> -->
121+
<ImportGroup Label="ExtensionTargets">
122+
</ImportGroup>
123+
</Project>

snippets/cpp/VS_Snippets_CLR_System/system.Exception.Properties/CPP/properties.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace NDP_UE_CPP
1818
LogTableOverflowException( String^ auxMessage, Exception^ inner )
1919
: Exception( String::Format( "{0} - {1}", overflowMessage, auxMessage ), inner )
2020
{
21-
this->HelpLink = "https://docs.microsoft.com";
21+
this->HelpLink = "https://learn.microsoft.com";
2222
this->Source = "Exception_Class_Samples";
2323
}
2424

@@ -106,7 +106,7 @@ Message ---
106106
The log table has overflowed. - Record "Log record number 5" was not logged.
107107
108108
HelpLink ---
109-
https://docs.microsoft.com
109+
https://learn.microsoft.com
110110
111111
Source ---
112112
Exception_Class_Samples

snippets/csharp/System.Net.Http/HttpClientHandler/ServerCertificateCustomValidationCallback/program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static async Task Main()
2323
// Call asynchronous network methods in a try/catch block to handle exceptions
2424
try
2525
{
26-
HttpResponseMessage response = await client.GetAsync("https://docs.microsoft.com/");
26+
HttpResponseMessage response = await client.GetAsync("https://learn.microsoft.com/");
2727

2828
response.EnsureSuccessStatusCode();
2929

snippets/csharp/System.Net.Http/SocketsHttpHandler/ConnectCallback/program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static async Task Main()
3737
// Call asynchronous network methods in a try/catch block to handle exceptions
3838
try
3939
{
40-
HttpResponseMessage response = await client.GetAsync("https://docs.microsoft.com/");
40+
HttpResponseMessage response = await client.GetAsync("https://learn.microsoft.com/");
4141

4242
response.EnsureSuccessStatusCode();
4343

snippets/csharp/System/Exception/HelpLink/properties.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public LogTableOverflowException(
1616
base( String.Format( "{0} - {1}",
1717
overflowMessage, auxMessage ), inner )
1818
{
19-
this.HelpLink = "https://docs.microsoft.com";
19+
this.HelpLink = "https://learn.microsoft.com";
2020
this.Source = "Exception_Class_Samples";
2121
}
2222
}
@@ -100,7 +100,7 @@ generates the following output.
100100
The log table has overflowed. - Record "Log record number 5" was not logged.
101101
102102
HelpLink ---
103-
https://docs.microsoft.com
103+
https://learn.microsoft.com
104104
105105
Source ---
106106
Exception_Class_Samples

snippets/fsharp/System/Exception/HelpLink/properties.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type LogTableOverflowException(auxMessage, inner) as this =
1313
inherit Exception($"%s{overflowMessage} - %s{auxMessage}", inner)
1414

1515
do
16-
this.HelpLink <- "https://docs.microsoft.com"
16+
this.HelpLink <- "https://learn.microsoft.com"
1717
this.Source <- "Exception_Class_Samples"
1818

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

6767
// HelpLink ---
68-
// https://docs.microsoft.com
68+
// https://learn.microsoft.com
6969

7070
// Source ---
7171
// Exception_Class_Samples

snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/properties.vb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Namespace NDP_UE_VB
1515
MyBase.New( String.Format( "{0} - {1}", _
1616
overflowMessage, auxMessage ), inner )
1717

18-
Me.HelpLink = "https://docs.microsoft.com"
18+
Me.HelpLink = "https://learn.microsoft.com"
1919
Me.Source = "Exception_Class_Samples"
2020

2121
End Sub
@@ -101,7 +101,7 @@ End Namespace ' NDP_UE_VB
101101
' The log table has overflowed. - Record "Log record number 5" was not logged.
102102
'
103103
' HelpLink ---
104-
' https://docs.microsoft.com
104+
' https://learn.microsoft.com
105105
'
106106
' Source ---
107107
' Exception_Class_Samples
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<RootNamespace>NDP_UE_VB</RootNamespace>
6+
<TargetFrameworks>net6.0;net48</TargetFrameworks>
7+
</PropertyGroup>
8+
9+
</Project>

xml/Microsoft.Aspnet.Snapin/AspNetManagementUtility.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<format type="text/markdown"><![CDATA[
4242
4343
## Remarks
44-
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).
44+
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).
4545
4646
]]></format>
4747
</remarks>
@@ -66,7 +66,7 @@ For more information about programming with the AspNetManagementUtility class an
6666
<format type="text/markdown"><![CDATA[
6767
6868
## Remarks
69-
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).
69+
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).
7070
7171
]]></format>
7272
</remarks>
@@ -103,7 +103,7 @@ For more information about programming with the <xref:Microsoft.Aspnet.Snapin.As
103103
<format type="text/markdown"><![CDATA[
104104
105105
## Remarks
106-
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).
106+
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).
107107
108108
]]></format>
109109
</remarks>
@@ -142,7 +142,7 @@ For more information about programming with the <xref:Microsoft.Aspnet.Snapin.As
142142
<format type="text/markdown"><![CDATA[
143143
144144
## Remarks
145-
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).
145+
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).
146146
147147
]]></format>
148148
</remarks>
@@ -189,7 +189,7 @@ For more information about programming with the <xref:Microsoft.Aspnet.Snapin.As
189189
<format type="text/markdown"><![CDATA[
190190
191191
## Remarks
192-
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).
192+
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).
193193
194194
]]></format>
195195
</remarks>
@@ -219,7 +219,7 @@ For more information about programming with the <xref:Microsoft.Aspnet.Snapin.As
219219
<format type="text/markdown"><![CDATA[
220220
221221
## Remarks
222-
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).
222+
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).
223223
224224
]]></format>
225225
</remarks>
@@ -254,7 +254,7 @@ For more information about programming with the <xref:Microsoft.Aspnet.Snapin.As
254254
<format type="text/markdown"><![CDATA[
255255
256256
## Remarks
257-
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).
257+
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).
258258
259259
]]></format>
260260
</remarks>
@@ -308,7 +308,7 @@ If the function succeeds, the return value is one of the following menu-item val
308308
<format type="text/markdown"><![CDATA[
309309
310310
## Remarks
311-
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).
311+
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).
312312
313313
]]></format>
314314
</remarks>
@@ -345,7 +345,7 @@ For more information about programming with the <xref:Microsoft.Aspnet.Snapin.As
345345
<format type="text/markdown"><![CDATA[
346346
347347
## Remarks
348-
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).
348+
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).
349349
350350
]]></format>
351351
</remarks>
@@ -386,7 +386,7 @@ For more information about programming with the <xref:Microsoft.Aspnet.Snapin.As
386386
<format type="text/markdown"><![CDATA[
387387
388388
## Remarks
389-
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).
389+
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).
390390
391391
]]></format>
392392
</remarks>
@@ -427,7 +427,7 @@ For more information about programming with the <xref:Microsoft.Aspnet.Snapin.As
427427
<format type="text/markdown"><![CDATA[
428428
429429
## Remarks
430-
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).
430+
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).
431431
432432
]]></format>
433433
</remarks>

xml/Microsoft.Aspnet.Snapin/CLSID.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ For more information:
2727
2828
- About unique identifiers and their format, see <xref:System.Guid>.
2929
30-
- 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).
30+
- 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).
3131
3232
]]></format>
3333
</remarks>

0 commit comments

Comments
 (0)