Skip to content

Commit 4a9b403

Browse files
Merge pull request #10246 from MicrosoftDocs/main638518432299972280sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 53d489f + f75f051 commit 4a9b403

File tree

64 files changed

+513
-299
lines changed

Some content is hidden

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

64 files changed

+513
-299
lines changed

docs/azure/azure-sql-database-add-connected-service.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ ms.author: ghogen
1010
monikerRange: ">= vs-2019"
1111
---
1212

13-
# Add a connection to an Azure SQL database
13+
# Add a connection to an Azure SQL Database
1414

15-
With Visual Studio Connected Services, you can connect to Azure SQL Database, a local emulator (for example, during development), or an on-premises SQL Server database. For on-premise SQL Server, see [Connect to a database](../data-tools/add-new-connections.md).
15+
With Visual Studio Connected Services, you can connect to Azure SQL Database, a local emulator (for example, during development), or an on-premises SQL Server database. For on-premises SQL Server, see [Connect to a database](../data-tools/add-new-connections.md).
1616

1717
With Visual Studio, you can connect from any of the following project types by using the **Connected Services** feature:
1818

docs/azure/how-to-get-publish-profile-from-azure-app-service.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: ghogen
55
manager: mijacobs
66
ms.subservice: azure-development
77
ms.topic: how-to
8-
ms.date: 10/19/2021
8+
ms.date: 05/16/2024
99
ms.author: ghogen
1010
monikerRange: ">=vs-2019"
1111
---
@@ -19,7 +19,7 @@ A publish profile is a file that contains information and settings that Visual S
1919

2020
:::image type="content" source="./media/app-service-get-publish-profile.png" alt-text="Screenshot showing how to get the publish profile from Azure App Service." lightbox="./media/app-service-get-publish-profile.png":::
2121

22-
A file with a .publishsettings file extension has been generated in the location where you saved it.
22+
A file with a `.publishsettings` extension is generated in the location you specified.
2323

2424
See also [Azure App Service](/azure/app-service).
2525

docs/containers/container-tools-react.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Follow these steps if you're using Visual Studio 2022 version 17.8 or later:
6060

6161
1. Create a new project using the **React and ASP.NET Core** template.
6262

63-
[ ![Screenshot of creating a new React and ASP.NET Core project.](media/container-tools-react/vs-2022/react-and-asp-net-core.png).](media/container-tools-react/vs-2022/react-and-asp-net-core.png#lightbox)
63+
:::image type="content" alt-text="Screenshot of creating a new React and ASP.NET Core project." source="media/container-tools-react/vs-2022/react-and-asp-net-core.png" lightbox="media/container-tools-react/vs-2022/react-and-asp-net-core.png" :::
6464

6565
1. On the **Additional information** screen, you can't select **Enable Docker Support**, but don't worry, you can add that support later.
6666

@@ -70,7 +70,7 @@ Follow these steps if you're using Visual Studio 2022 version 17.8 or later:
7070

7171
1. Right-click on the server project node, and choose **Add** > **Docker Support** to add a Dockerfile to your project.
7272

73-
[ ![Screenshot of Add Docker support menu item.](media/container-tools-react/vs-2022/add-docker-support.png)](media/container-tools-react/vs-2022/add-docker-support.png#lightbox)
73+
:::image alt-text="Screenshot of Add Docker support menu item" type="content" source="media/container-tools-react/vs-2022/add-docker-support.png" lightbox="media/container-tools-react/vs-2022/add-docker-support.png" :::
7474

7575
1. Select the container type.
7676

docs/data-tools/walkthrough-creating-a-simple-wcf-service-in-windows-forms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ The WCF tools are not installed with the .NET workload; use the Visual Studio In
133133

134134
1. From the **Toolbox**, drag a `TextBox` control, a `Label` control, and a `Button` control onto the form.
135135

136-
[ ![Screenshot showing adding controls to the form.](../data-tools/media/vs-2022/windows-communication-foundation-client-app.png).](../data-tools/media/vs-2022/windows-communication-foundation-client-app.png#lightbox)
136+
:::image type="content" alt-text="Screenshot showing adding controls to the form." source="../data-tools/media/vs-2022/windows-communication-foundation-client-app.png" lightbox="../data-tools/media/vs-2022/windows-communication-foundation-client-app.png":::
137137

138138
1. Double-click the `Button`, and add the following code in the `Click` event handler:
139139

docs/data-tools/windows-communication-foundation-services-and-wcf-data-services-in-visual-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Visual Studio provides tools for working with Windows Communication Foundation (
4242

4343
## What Is WCF?
4444

45-
Windows Communication Foundation (WCF) is a unified framework for creating secure, reliable, transacted, and interoperable distributed applications. It replaces older interprocess communication technologies such as ASMX web services, .NET Remoting, Enterprise Services (Distributed Component Object Model (DCOM)), and Microsoft Message Queuing (MSMQ). WCF brings together the functionality of all those technologies under a unified programming model. This simplifies the experience of developing distributed applications.
45+
Windows Communication Foundation (WCF) is a unified framework for creating secure, reliable, transacted, and interoperable distributed applications. It replaces older interprocess communication technologies such as ASMX web services, .NET Remoting, Enterprise Services (Distributed Component Object Model (DCOM)), and Microsoft Message Queue (MSMQ). WCF brings together the functionality of all those technologies under a unified programming model. This simplifies the experience of developing distributed applications.
4646

4747
### What are WCF Data Services
4848

docs/debugger/attach-to-process-running-in-docker-container.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,12 @@ To attach to a running process in a Linux Docker container:
8686

8787
4. Choose the corresponding container process from the list of **Available processes** and select **Attach** to start debugging your C# container process in Visual Studio!
8888

89-
::: moniker range=">= vs-2022"
89+
::: moniker range=">= vs-2022"
90+
9091
![Screenshot of the Attach to Process dialog in Visual Studio. Connection type is set to Docker (Linux Container) and the dotnet process is selected.](../debugger/media/vs-2022/docker-attach-complete.png "Completed Linux Docker Attach Menu")
9192
::: moniker-end
92-
::: moniker range="vs-2019"
93+
::: moniker range="vs-2019"
94+
9395
![Screenshot of the Attach to Process dialog in Visual Studio. Connection type is set to Docker (Linux Container) and the dotnet process is selected.](../debugger/media/docker-attach-complete.png "Completed Linux Docker Attach Menu")
9496
::: moniker-end
9597

@@ -106,10 +108,12 @@ To attach to a running process in a Windows Docker container:
106108

107109
2. Set the **Connection type** to **Docker (Windows Container)**.
108110

109-
::: moniker range=">= vs-2022"
111+
::: moniker range=">= vs-2022"
112+
110113
![Screenshot of the Attach to Process dialog in Visual Studio showing a Connection type of Docker (Windows Container).](../debugger/media/vs-2022/attach-process-menu-docker-windows.png "Attach_To_Process_Menu")
111114
::: moniker-end
112-
::: moniker range="vs-2019"
115+
::: moniker range="vs-2019"
116+
113117
![Screenshot of the Attach to Process dialog in Visual Studio showing a Connection type of Docker (Windows Container).](../debugger/media/attach-process-menu-docker-windows.png "Attach_To_Process_Menu")
114118
::: moniker-end
115119

@@ -128,9 +132,11 @@ To attach to a running process in a Windows Docker container:
128132

129133
4. Choose the corresponding container process from the list of **Available processes** and select **Attach** to start debugging your C# container process.
130134

131-
::: moniker range=">= vs-2022"
135+
::: moniker range=">= vs-2022"
136+
132137
![Screenshot of the Attach to Process dialog in Visual Studio. Connection type is set to Docker (Windows Container) and the dotnet.exe process is selected.](../debugger/media/vs-2022/docker-attach-complete-windows.png "Completed Windows Docker Attach Menu")
133138
::: moniker-end
134-
::: moniker range="vs-2019"
139+
::: moniker range="vs-2019"
140+
135141
![Screenshot of the Attach to Process dialog in Visual Studio. Connection type is set to Docker (Windows Container) and the dotnet.exe process is selected.](../debugger/media/docker-attach-complete-windows.png "Completed Windows Docker Attach Menu")
136142
::: moniker-end

docs/debugger/attach-to-running-processes-with-the-visual-studio-debugger.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ For client-side script debugging, script debugging must be enabled in the browse
283283
|Containerized app - Debug|Use **Attach to Process**|*dotnet.exe* or a unique process name|See [Attach to a process running in a Docker container](../debugger/attach-to-process-running-in-docker-container.md)|
284284
|Python on Linux - Remote debug|Use **Attach to Process**|*debugpy*|See [Attach remotely from Python Tools](../python/debugging-python-code-on-remote-linux-machines.md#attach-remotely-from-python-tools)|
285285
|Other supported app types - Debug on a server process|If server is remote, use remote tools, and **Attach to Process**|*chrome.exe*, *msedge.exe*, or other processes|If necessary, use Resource Monitor to help identify the process. See [Remote debugging](../debugger/remote-debugging.md).|
286-
|Universal Windows App (UWP), OneCore, HoloLens, or IoT app - Remote debug|Debug installed app package|N/A|See [Debug an installed app package](debug-installed-app-package.md) instead of using **Attach to Process**|
287-
|Universal Windows App (UWP), OneCore, HoloLens, or IoT - Debug an app that you didn't start from Visual Studio|Debug installed app package|N/A|See [Debug an installed app package](debug-installed-app-package.md) instead of using **Attach to Process**|
286+
|Universal Windows Platform (UWP) App, OneCore, HoloLens, or IoT app - Remote debug|Debug installed app package|N/A|See [Debug an installed app package](debug-installed-app-package.md) instead of using **Attach to Process**|
287+
|UWP App, OneCore, HoloLens, or IoT - Debug an app that you didn't start from Visual Studio|Debug installed app package|N/A|See [Debug an installed app package](debug-installed-app-package.md) instead of using **Attach to Process**|
288288

289289
## Use debugger features
290290

docs/debugger/debug-interface-access/baseclass.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "BaseClass"
2+
title: BaseClass
33
description: Find reference information about the BaseClass symbol type. A base class for user-defined type (UDT) symbols is identified by a child with a SymTagBaseClass tag.
44
ms.date: "11/04/2016"
55
ms.topic: "reference"
@@ -14,12 +14,14 @@ ms.author: "mikejo"
1414
manager: mijacobs
1515
ms.subservice: debug-diagnostics
1616
---
17+
1718
# BaseClass
1819

1920
Each base class for a user-defined type (UDT) symbol is identified by a child with a `SymTagBaseClass` tag. The [IDiaSymbol::get_type](../../debugger/debug-interface-access/idiasymbol-get-type.md) property contains the symbol for the underlying UDT, and all properties of the underlying UDT are available as part of this BaseClass symbol.
2021

2122
## Properties
22-
The following table shows additional valid properties for this symbol type.
23+
24+
The following table shows additional valid properties for this symbol type.
2325

2426
|Property|Data type|Description|
2527
|--------------|---------------|-----------------|
@@ -56,5 +58,6 @@ Each base class for a user-defined type (UDT) symbol is identified by a child wi
5658
|[IDiaSymbol::get_volatileType](../../debugger/debug-interface-access/idiasymbol-get-volatiletype.md)|`BOOL`|`TRUE` if the base class is marked as volatile.|
5759

5860
## See also
61+
5962
- [Class Hierarchy of Symbol Types](../../debugger/debug-interface-access/class-hierarchy-of-symbol-types.md)
60-
- [UDT](../../debugger/debug-interface-access/udt.md)
63+
- [UDT](../../debugger/debug-interface-access/udt.md)

docs/debugger/debug-interface-access/data-debug-interface-access-sdk.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "All variables, such as parameters, local variables, global variables, and class members, are identified by SymTagData symbols."
3-
title: "Data (Debug Interface Access SDK)"
2+
description: All variables, such as parameters, local variables, global variables, and class members, are identified by SymTagData symbols.
3+
title: Data (Debug Interface Access SDK)
44
ms.date: "11/04/2016"
55
ms.topic: "reference"
66
dev_langs:
@@ -15,12 +15,14 @@ ms.author: "mikejo"
1515
manager: mijacobs
1616
ms.subservice: debug-diagnostics
1717
---
18+
1819
# Data (Debug Interface Access SDK)
1920

2021
All variables, such as parameters, local variables, global variables, and class members, are identified by `SymTagData` symbols. Constant values (`LocIsConstant`) are also identified with this type.
2122

2223
## Properties
23-
The following table shows the properties that are valid for this symbol type.
24+
25+
The following table shows the properties that are valid for this symbol type.
2426

2527
|Property|Data type|Description|
2628
|--------------|---------------|-----------------|
@@ -56,6 +58,7 @@ All variables, such as parameters, local variables, global variables, and class
5658
|[IDiaSymbol::get_volatileType](../../debugger/debug-interface-access/idiasymbol-get-volatiletype.md)|`BOOL`|`TRUE` if the data is marked as volatile.|
5759

5860
## See also
61+
5962
- [CV_access_e Enumeration](../../debugger/debug-interface-access/cv-access-e.md)
6063
- [DataKind Enumeration](../../debugger/debug-interface-access/datakind.md)
6164
- [Lexical Hierarchy of Symbol Types](../../debugger/debug-interface-access/lexical-hierarchy-of-symbol-types.md)

docs/debugger/debug-interface-access/datakind.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Indicates the particular scope of a data value."
3-
title: "DataKind"
2+
description: Indicates the particular scope of a data value.
3+
title: DataKind
44
ms.date: "11/04/2016"
55
ms.topic: "reference"
66
dev_langs:
@@ -12,14 +12,15 @@ ms.author: "mikejo"
1212
manager: mijacobs
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# DataKind
1617

1718
Indicates the particular scope of a data value.
1819

1920
## Syntax
2021

21-
```C++
22-
enum DataKind {
22+
```c++
23+
enum DataKind {
2324
DataIsUnknown,
2425
DataIsLocal,
2526
DataIsStaticLocal,
@@ -49,11 +50,14 @@ enum DataKind {
4950
| DataIsConstant | Data item is a constant value. |
5051

5152
## Remarks
53+
5254
The values in this enumeration are returned by the [IDiaSymbol::get_dataKind](../../debugger/debug-interface-access/idiasymbol-get-datakind.md) method.
5355

5456
## Requirements
57+
5558
Header: cvconst.h
5659

5760
## See also
61+
5862
- [Enumerations and Structures](../../debugger/debug-interface-access/enumerations-and-structures.md)
5963
- [IDiaSymbol::get_dataKind](../../debugger/debug-interface-access/idiasymbol-get-datakind.md)

docs/debugger/debug-interface-access/enum-debug-interface-access-sdk.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Enumerations are identified by SymTagEnum symbols."
3-
title: "Enum (Debug Interface Access SDK)"
2+
description: Enumerations are identified by SymTagEnum symbols.
3+
title: Enum (Debug Interface Access SDK)
44
ms.date: "11/04/2016"
55
ms.topic: "reference"
66
dev_langs:
@@ -13,12 +13,14 @@ ms.author: "mikejo"
1313
manager: mijacobs
1414
ms.subservice: debug-diagnostics
1515
---
16+
1617
# Enum (Debug Interface Access SDK)
1718

1819
Enumerations are identified by `SymTagEnum` symbols. Each enumeration value appears as a class child with a `SymTagConstant` tag.
1920

2021
## Properties
21-
The following table shows additional valid properties for this symbol type.
22+
23+
The following table shows additional valid properties for this symbol type.
2224

2325
|Property|Data type|Description|
2426
|--------------|---------------|-----------------|
@@ -46,4 +48,5 @@ Enumerations are identified by `SymTagEnum` symbols. Each enumeration value appe
4648
|[IDiaSymbol::get_volatileType](../../debugger/debug-interface-access/idiasymbol-get-volatiletype.md)|`BOOL`|`TRUE` if the enumeration is marked as volatile.|
4749

4850
## See also
51+
4952
- [Class Hierarchy of Symbol Types](../../debugger/debug-interface-access/class-hierarchy-of-symbol-types.md)

docs/debugger/debug-interface-access/idiadatasource-loaddatafrompdb.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: "Opens and prepares a program database (.pdb) file as a debug data source."
2+
description: Opens and prepares a program database (.pdb) file as a debug data source.
33
title: "IDiaDataSource::loadDataFromPdb"
44
ms.date: "11/04/2016"
55
ms.topic: "reference"
@@ -12,24 +12,27 @@ ms.author: "mikejo"
1212
manager: mijacobs
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# IDiaDataSource::loadDataFromPdb
1617

1718
Opens and prepares a program database (.pdb) file as a debug data source.
1819

1920
## Syntax
2021

21-
```C++
22+
```c++
2223
HRESULT loadDataFromPdb (
2324
LPCOLESTR pdbPath
2425
);
2526
```
2627

2728
#### Parameters
29+
2830
pdbPath
2931

3032
[in] The path to the .pdb file.
3133

3234
## Return Value
35+
3336
If successful, returns `S_OK`; otherwise, returns an error code. The following table shows the possible return values for this method.
3437

3538
|Value|Description|
@@ -40,6 +43,7 @@ If successful, returns `S_OK`; otherwise, returns an error code. The following t
4043
|E_UNEXPECTED|Data source has already been prepared.|
4144

4245
## Remarks
46+
4347
This method loads the debug data directly from a .pdb file.
4448

4549
To validate the .pdb file against specific criteria, use the [IDiaDataSource::loadAndValidateDataFromPdb](../../debugger/debug-interface-access/idiadatasource-loadandvalidatedatafrompdb.md) method.
@@ -50,7 +54,7 @@ To load a .pdb file directly from memory, use the [IDiaDataSource::loadDataFromI
5054

5155
## Example
5256

53-
```C++
57+
```c++
5458
HRESULT hr = pSource->loadDataFromPdb( L"myprog.pdb" );
5559
if (FAILED(hr))
5660
{
@@ -59,6 +63,7 @@ if (FAILED(hr))
5963
```
6064
6165
## See also
66+
6267
- [IDiaDataSource](../../debugger/debug-interface-access/idiadatasource.md)
6368
- [IDiaDataSource::loadDataForExe](../../debugger/debug-interface-access/idiadatasource-loaddataforexe.md)
6469
- [IDiaDataSource::loadAndValidateDataFromPdb](../../debugger/debug-interface-access/idiadatasource-loadandvalidatedatafrompdb.md)

docs/debugger/debug-interface-access/idiadatasource-opensession.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: "Opens a session for querying symbols."
2+
description: Opens a session for querying symbols.
33
title: "IDiaDataSource::openSession"
44
ms.date: "11/04/2016"
55
ms.topic: "reference"
@@ -12,24 +12,27 @@ ms.author: "mikejo"
1212
manager: mijacobs
1313
ms.subservice: debug-diagnostics
1414
---
15+
1516
# IDiaDataSource::openSession
1617

1718
Opens a session for querying symbols.
1819

1920
## Syntax
2021

21-
```C++
22-
HRESULT openSession ( 
22+
```c++
23+
HRESULT openSession (
2324
IDiaSession** ppSession
2425
);
2526
```
2627

2728
#### Parameters
29+
2830
ppSession
2931

3032
[out] Returns an [IDiaSession](../../debugger/debug-interface-access/idiasession.md) object representing the open session.
3133

3234
## Return Value
35+
3336
If successful, returns `S_OK`; otherwise, returns an error code. The following table shows the possible return values for this method.
3437

3538
|Value|Description|
@@ -39,13 +42,14 @@ If successful, returns `S_OK`; otherwise, returns an error code. The following t
3942
|E_OUTOFMEMORY|Insufficient memory to open the session.|
4043

4144
## Remarks
45+
4246
This method opens an [IDiaSession](../../debugger/debug-interface-access/idiasession.md) object for a data source.
4347

4448
`IDiaSession` objects implement queries into the data source. A session manages one address space for each set of debug symbols. If the .exe or .dll file described by the data source symbols is active in multiple address ranges (for example, because multiple processes have it loaded), then one session for each address range should be used.
4549

4650
## Example
4751

48-
```C++
52+
```c++
4953
IDiaSession* pSession;
5054
HRESULT hr = pSource->openSession( &pSession );
5155
if (FAILED(hr))
@@ -55,6 +59,7 @@ if (FAILED(hr))
5559
```
5660
5761
## See also
62+
5863
- [IDiaDataSource](../../debugger/debug-interface-access/idiadatasource.md)
5964
- [Overview](../../debugger/debug-interface-access/overview-debug-interface-access-sdk.md)
6065
- [IDiaSession](../../debugger/debug-interface-access/idiasession.md)

0 commit comments

Comments
 (0)