Skip to content

Commit 348de9e

Browse files
mairawVSC-Service-Account
andauthored
CI Update - Update MSDN URLs (dotnet#4963)
* CI Update Build.Reason:Manual by Maira Wenzel Build.Url:https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=166918&view=results * manual fixes Co-authored-by: VSC-Service-Account <[email protected]>
1 parent 6bad04a commit 348de9e

40 files changed

+268
-270
lines changed

xml/Microsoft.VisualBasic/DateAndTime.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ MsgBox("The formatted date is " & Format(Now, "dddd, d MMM yyyy"))
921921
To access the current system date as a `Date`, use the <xref:Microsoft.VisualBasic.DateAndTime.Today%2A> property.
922922
923923
> [!IMPORTANT]
924-
> Setting the system date or time requires unmanaged code permission, which might affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://msdn.microsoft.com/library/e5ae402f-6dda-4732-bbe8-77296630f675).
924+
> Setting the system date or time requires unmanaged code permission, which might affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100)).
925925
926926
927927
@@ -1454,7 +1454,7 @@ Dim thisDay As Integer = Microsoft.VisualBasic.DateAndTime.Day(Now)
14541454
To get or set the current system date, use the <xref:Microsoft.VisualBasic.DateAndTime.Today%2A> property.
14551455
14561456
> [!IMPORTANT]
1457-
> Setting the system date or time requires unmanaged code permission, which might affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://msdn.microsoft.com/library/e5ae402f-6dda-4732-bbe8-77296630f675).
1457+
> Setting the system date or time requires unmanaged code permission, which might affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100)).
14581458
14591459
14601460
@@ -1655,7 +1655,7 @@ MsgBox("The formatted time is " & Format(Now, "hh.mm.ss.fff tt"))
16551655
To access the current system time as a `Date`, use the <xref:Microsoft.VisualBasic.DateAndTime.TimeOfDay%2A> property.
16561656
16571657
> [!IMPORTANT]
1658-
> Setting the system date or time requires unmanaged code permission, which might affect its execution in partial trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://msdn.microsoft.com/library/e5ae402f-6dda-4732-bbe8-77296630f675).
1658+
> Setting the system date or time requires unmanaged code permission, which might affect its execution in partial trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100)).
16591659
16601660
16611661
@@ -1776,7 +1776,7 @@ MsgBox("The formatted time is " & Format(Now, "hh.mm.ss.fff tt"))
17761776
To get or set the current system time, use the <xref:Microsoft.VisualBasic.DateAndTime.TimeOfDay%2A> property.
17771777
17781778
> [!IMPORTANT]
1779-
> Setting the system date or time requires unmanaged code permission, which might affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://msdn.microsoft.com/library/e5ae402f-6dda-4732-bbe8-77296630f675).
1779+
> Setting the system date or time requires unmanaged code permission, which might affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100)).
17801780
17811781
17821782

xml/Microsoft.VisualBasic/ErrObject.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ End If
407407
> [!NOTE]
408408
> The <xref:Microsoft.VisualBasic.ErrObject.LastDllError%2A> property is protected by <xref:System.Security.Permissions.SecurityAction.LinkDemand>, which helps prevent it from being accessed from untrusted code. However, <xref:System.Security.Permissions.SecurityAction.LinkDemand> requires only the immediate caller to have <xref:System.Security.Permissions.SecurityPermissionAttribute.UnmanagedCode%2A> permission. If your code can be called from partially trusted code, exposing the value of <xref:Microsoft.VisualBasic.ErrObject.LastDllError%2A> without validation is a security risk.
409409
>
410-
> For important limitations about how to use the <xref:System.Security.Permissions.SecurityAction.LinkDemand> member, see [Demand vs. LinkDemand](https://msdn.microsoft.com/library/1ab877f2-70f4-4e0d-8116-943999dfe8f5). For more information about permissions, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://msdn.microsoft.com/library/e5ae402f-6dda-4732-bbe8-77296630f675).
410+
> For important limitations about how to use the <xref:System.Security.Permissions.SecurityAction.LinkDemand> member, see [Demand vs. LinkDemand](https://msdn.microsoft.com/library/1ab877f2-70f4-4e0d-8116-943999dfe8f5). For more information about permissions, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100)).
411411
412412
Note For smart devices this property always returns zero.
413413

xml/Microsoft.VisualBasic/FileSystem.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
<format type="text/markdown"><![CDATA[
173173

174174
## Remarks
175-
The `ChDrive` function requires unmanaged-code permission, which may affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://msdn.microsoft.com/library/e5ae402f-6dda-4732-bbe8-77296630f675).
175+
The `ChDrive` function requires unmanaged-code permission, which may affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100)).
176176

177177

178178

@@ -233,7 +233,7 @@
233233
<format type="text/markdown"><![CDATA[
234234

235235
## Remarks
236-
The `ChDrive` function requires unmanaged-code permission, which may affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://msdn.microsoft.com/library/e5ae402f-6dda-4732-bbe8-77296630f675).
236+
The `ChDrive` function requires unmanaged-code permission, which may affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100)).
237237

238238

239239

@@ -412,7 +412,7 @@
412412
You must supply a `PathName` the first time that you call the `Dir` function. To retrieve the next item, you can make subsequent calls to the `Dir` function without parameters.
413413

414414
> [!IMPORTANT]
415-
> To run correctly, the `Dir` function requires the <xref:System.Security.Permissions.FileIOPermissionAccess.Read> and <xref:System.Security.Permissions.FileIOPermissionAccess.PathDiscovery> flags of <xref:System.Security.Permissions.FileIOPermission> to be granted to the executing code. For more information, see <xref:System.Security.Permissions.FileIOPermission>, <xref:System.Security.SecurityException>, and [Code Access Permissions](https://msdn.microsoft.com/library/e5ae402f-6dda-4732-bbe8-77296630f675).
415+
> To run correctly, the `Dir` function requires the <xref:System.Security.Permissions.FileIOPermissionAccess.Read> and <xref:System.Security.Permissions.FileIOPermissionAccess.PathDiscovery> flags of <xref:System.Security.Permissions.FileIOPermission> to be granted to the executing code. For more information, see <xref:System.Security.Permissions.FileIOPermission>, <xref:System.Security.SecurityException>, and [Code Access Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100)).
416416

417417
The `Attributes` argument enumeration values are as follows:
418418

@@ -496,7 +496,7 @@
496496
`VbVolume` returns the volume label for the drive instead of a specific file name.
497497
You must supply a `PathName` the first time that you call the `Dir` function. To retrieve the next item, you can make subsequent calls to the `Dir` function with no parameters.
498498
> [!IMPORTANT]
499-
> To run correctly, the `Dir` function requires the <xref:System.Security.Permissions.FileIOPermissionAccess.Read> and <xref:System.Security.Permissions.FileIOPermissionAccess.PathDiscovery> flags of <xref:System.Security.Permissions.FileIOPermission> to be granted to the executing code. For more information, see <xref:System.Security.Permissions.FileIOPermission>, <xref:System.Security.SecurityException>, and [Code Access Permissions](https://msdn.microsoft.com/library/e5ae402f-6dda-4732-bbe8-77296630f675).
499+
> To run correctly, the `Dir` function requires the <xref:System.Security.Permissions.FileIOPermissionAccess.Read> and <xref:System.Security.Permissions.FileIOPermissionAccess.PathDiscovery> flags of <xref:System.Security.Permissions.FileIOPermission> to be granted to the executing code. For more information, see <xref:System.Security.Permissions.FileIOPermission>, <xref:System.Security.SecurityException>, and [Code Access Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100)).
500500
The `Attributes` argument enumeration values are as follows:
501501
|Value|Constant|Description|
502502
|-|-|-|
@@ -5101,7 +5101,7 @@ Result = GetAttr(FName) And vbArchive
51015101
## Remarks
51025102
`Kill` supports the use of multiple-character (`*`) and single-character (`?`) wildcards to specify multiple files.
51035103

5104-
**Security Note** In order to execute, the `Kill` function requires `Read` and `PathDiscovery` flags of <xref:System.Security.Permissions.FileIOPermission> to be granted to the executing code. For more information, see <xref:System.Security.SecurityException>[Code Access Permissions](https://msdn.microsoft.com/library/e5ae402f-6dda-4732-bbe8-77296630f675)
5104+
**Security Note** In order to execute, the `Kill` function requires `Read` and `PathDiscovery` flags of <xref:System.Security.Permissions.FileIOPermission> to be granted to the executing code. For more information, see <xref:System.Security.SecurityException>[Code Access Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100))
51055105

51065106

51075107

xml/Microsoft.VisualBasic/Interaction.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ End Sub
535535
You can use the `CreateObject` function only to create a COM object. While there is no exact equivalent mechanism for creating a .NET Framework object, the <xref:System.Activator> in the <xref:System> namespace contains methods to create local or remote objects. In particular, the <xref:System.Activator.CreateInstance%2A> method or the <xref:System.Activator.CreateInstanceFrom%2A> method might be useful.
536536
537537
> [!IMPORTANT]
538-
> The `CreateObject` function requires unmanaged code permission, which might affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://msdn.microsoft.com/library/e5ae402f-6dda-4732-bbe8-77296630f675).
538+
> The `CreateObject` function requires unmanaged code permission, which might affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100)).
539539
540540
541541
@@ -677,7 +677,7 @@ End Sub
677677
If `Expression` contains an integer, the string occupying that numeric position in the environment-string table is returned. In this case, <xref:Microsoft.VisualBasic.Interaction.Environ%2A> returns all of the text, including the name of the environment variable. If there is no environment string in the specified position, <xref:Microsoft.VisualBasic.Interaction.Environ%2A> returns a zero-length string.
678678
679679
> [!IMPORTANT]
680-
> The <xref:Microsoft.VisualBasic.Interaction.Environ%2A> function requires environment permission, which might affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://msdn.microsoft.com/library/e5ae402f-6dda-4732-bbe8-77296630f675).
680+
> The <xref:Microsoft.VisualBasic.Interaction.Environ%2A> function requires environment permission, which might affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100)).
681681
682682
683683
@@ -733,7 +733,7 @@ End Sub
733733
If `Expression` contains an integer, the string occupying that numeric position in the environment-string table is returned. In this case, <xref:Microsoft.VisualBasic.Interaction.Environ%2A> returns all of the text, including the name of the environment variable. If there is no environment string in the specified position, <xref:Microsoft.VisualBasic.Interaction.Environ%2A> returns a zero-length string.
734734
735735
> [!IMPORTANT]
736-
> The <xref:Microsoft.VisualBasic.Interaction.Environ%2A> function requires environment permission, which might affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://msdn.microsoft.com/library/e5ae402f-6dda-4732-bbe8-77296630f675).
736+
> The <xref:Microsoft.VisualBasic.Interaction.Environ%2A> function requires environment permission, which might affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100)).
737737
738738
739739
@@ -921,7 +921,7 @@ drawObj.SaveAs("C:\Drawings\sample.drw")
921921
> If an object has registered itself as an ActiveX single-instance object, only one instance of the object is created, no matter how many times `CreateObject` is called. With a single-instance object, `GetObject` always returns the same instance when called with the zero-length string (`""`) syntax, and it causes an error if the `PathName` argument is omitted. You cannot use `GetObject` to obtain a reference to a class created with Visual Basic.
922922
923923
> [!IMPORTANT]
924-
> The `GetObject` function requires unmanaged code permission, which might affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://msdn.microsoft.com/library/e5ae402f-6dda-4732-bbe8-77296630f675).
924+
> The `GetObject` function requires unmanaged code permission, which might affect its execution in partial-trust situations. For more information, see <xref:System.Security.Permissions.SecurityPermission> and [Code Access Permissions](https://docs.microsoft.com/previous-versions/dotnet/netframework-4.0/h846e9b3(v=vs.100)).
925925
926926
927927

xml/System.Data.Metadata.Edm/ComplexType.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
<format type="text/markdown"><![CDATA[
2121
2222
## Remarks
23-
The <xref:System.Data.Metadata.Edm.ComplexType> in a conceptual model represents a type that includes a set of properties like an entity type but does not include a key property. For more information about the complex types in a conceptual model, see [Complex Type](https://msdn.microsoft.com/library/271d59a2-990e-4d24-b427-27a1c3e99b42) and [How to: Define a Model with Complex Types (Entity Framework)](https://docs.microsoft.com/previous-versions/bb738613(v=vs.90)).
23+
The <xref:System.Data.Metadata.Edm.ComplexType> in a conceptual model represents a type that includes a set of properties like an entity type but does not include a key property. For more information about the complex types in a conceptual model, see [Complex Type](https://docs.microsoft.com/previous-versions/bb738466(v=vs.90)) and [How to: Define a Model with Complex Types (Entity Framework)](https://docs.microsoft.com/previous-versions/bb738613(v=vs.90)).
2424
2525
2626
2727
## Examples
2828
The following code sample gets a metadata workspace from the connection and uses that metadata workspace to retrieve information about the properties of the complex types in the specified model. Note that the metadata workspace is a runtime service component that provides support for retrieving metadata.
2929
30-
The code sample uses a <xref:System.Data.Metadata.Edm.DataSpace.CSpace> to specify the model. The <xref:System.Data.Metadata.Edm.DataSpace.CSpace> represents the default name for the conceptual model. The code sample uses the CustomerComplexAddr model that is provided in [How to: Define a Model with Complex Types (Entity Framework)](https://docs.microsoft.com/previous-versions/bb738613(v=vs.90)) topic. For an example of the application config file, see [Implementing Complex Type (EDM)](https://msdn.microsoft.com/library/82f7fc69-808c-40ff-a23f-ee3fb8dbd9e2) topic.
30+
The code sample uses a <xref:System.Data.Metadata.Edm.DataSpace.CSpace> to specify the model. The <xref:System.Data.Metadata.Edm.DataSpace.CSpace> represents the default name for the conceptual model. The code sample uses the CustomerComplexAddr model that is provided in [How to: Define a Model with Complex Types (Entity Framework)](https://docs.microsoft.com/previous-versions/bb738613(v=vs.90)) topic.
3131
3232
```csharp
3333
using System;
@@ -223,4 +223,4 @@ End Class
223223
</Docs>
224224
</Member>
225225
</Members>
226-
</Type>
226+
</Type>

xml/System.Diagnostics.Eventing/EventDescriptor.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ unchecked
3535
}
3636
```
3737
38-
You use the descriptor when calling the <xref:System.Diagnostics.Eventing.EventProvider.WriteEvent%2A?displayProperty=nameWithType> or <xref:System.Diagnostics.Eventing.EventProvider.WriteEvent%2A?displayProperty=nameWithType> method.
39-
40-
For more information on writing the manifest and using the message compiler, see [Developing Event Publishers](https://msdn.microsoft.com/library/windows/desktop/aa964766\(v=vs.85\).aspx)
38+
You use the descriptor when calling the <xref:System.Diagnostics.Eventing.EventProvider.WriteEvent%2A?displayProperty=nameWithType> or <xref:System.Diagnostics.Eventing.EventProvider.WriteEvent%2A?displayProperty=nameWithType> method.
4139
4240
]]></format>
4341
</remarks>
@@ -78,7 +76,7 @@ unchecked
7876
<format type="text/markdown"><![CDATA[
7977
8078
## Remarks
81-
For details on these parameters, see the attributes of the [EventDefinitionType](https://msdn.microsoft.com/library/windows/desktop/aa382754\(v=vs.85\).aspx) complex type.
79+
For details on these parameters, see the attributes of the [EventDefinitionType](/windows/win32/wes/eventmanifestschema-eventdefinitiontype-complextype) complex type.
8280
8381
]]></format>
8482
</remarks>
@@ -288,4 +286,4 @@ unchecked
288286
</Docs>
289287
</Member>
290288
</Members>
291-
</Type>
289+
</Type>

xml/System.Diagnostics.Tracing/EventChannel.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<format type="text/markdown"><![CDATA[
3939
4040
## Remarks
41-
Events can be written to event log channels, event tracing log files, or both. A channel is basically a container to collect events. Each channel type has an intended audience, which determines the type of events that you write to the channel. For more information about event log channels, see [Defining Channels](https://msdn.microsoft.com/library/windows/desktop/dd996911\(v=vs.85\).aspx)
41+
Events can be written to event log channels, event tracing log files, or both. A channel is basically a container to collect events. Each channel type has an intended audience, which determines the type of events that you write to the channel. For more information about event log channels, see [Defining Channels](/windows/win32/wes/defining-channels).
4242
4343
]]></format>
4444
</remarks>
@@ -220,4 +220,4 @@
220220
</Docs>
221221
</Member>
222222
</Members>
223-
</Type>
223+
</Type>

0 commit comments

Comments
 (0)