You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can handle the `Navigating` event to cancel navigation if certain conditions have not been met, for example, when the user has not completely filled out a form. To cancel navigation, set the `Cancel` property of the <xref:System.Windows.Forms.WebBrowserNavigatingEventArgs> object passed to the event handler to `true`. You can also use this object to retrieve the URL of the new document through the <xref:System.Windows.Forms.WebBrowserNavigatingEventArgs.Url%2A> property. If the new document will be displayed in a Web page frame, you can retrieve the name of the frame through the <xref:System.Windows.Forms.WebBrowserNavigatingEventArgs.TargetFrameName%2A> property.
823
821
824
822
Handle the <xref:Microsoft.VisualBasic.Compatibility.VB6.WebBrowserArray.Navigated> event to receive notification when the <xref:System.Windows.Forms.WebBrowser> control finishes navigation and has begun loading the document at the new location. Handle the <xref:Microsoft.VisualBasic.Compatibility.VB6.WebBrowserArray.DocumentCompleted> event to receive notification when the <xref:System.Windows.Forms.WebBrowser> control finishes loading the new document.
825
823
826
824
For more information about how to handle events, see [Handling and Raising Events](~/docs/standard/events/index.md).
827
825
828
826
> [!NOTE]
829
-
> Functions and objects in the <xref:Microsoft.VisualBasic.Compatibility.VB6> namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the [!INCLUDE[dnprdnshort](~/includes/dnprdnshort-md.md)]. They are necessary only when the Visual Basic 6.0 code model differs significantly from the [!INCLUDE[dnprdnshort](~/includes/dnprdnshort-md.md)] implementation.
827
+
> Functions and objects in the <xref:Microsoft.VisualBasic.Compatibility.VB6> namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the [!INCLUDE[dnprdnshort](~/includes/dnprdnshort-md.md)]. They are necessary only when the Visual Basic 6.0 code model differs significantly from the [!INCLUDE[dnprdnshort](~/includes/dnprdnshort-md.md)] implementation.
Copy file name to clipboardExpand all lines: xml/System.Activities/WorkflowIdentityFilter.xml
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -20,22 +20,22 @@
20
20
## Remarks
21
21
This class supports the versioning and dynamic update functionality of Windows Workflow Foundation. For more information about workflow versioning, workflow identity, and dynamic update, see the following topics:
Describes how to update the workflow definition of a persisted workflow instance by using dynamic update.
28
28
29
-
- [Using WorkflowApplication Identity and Versioning](~/docs/framework/windows-workflow-foundation/using-workflowidentity-and-versioning.md)
29
+
- [Using WorkflowApplication Identity and Versioning](~/docs/framework/windows-workflow-foundation/using-workflowidentity-and-versioning.md)
30
30
Describes how to use <xref:System.Activities.WorkflowIdentity> to host multiple versions of a workflow side-by-side.
31
31
32
-
- [Side by Side Versioning in WorkflowServiceHost](~/docs/framework/wcf/feature-details/side-by-side-versioning-in-workflowservicehost.md)
32
+
- [Side by Side Versioning in WorkflowServiceHost](~/docs/framework/wcf/feature-details/side-by-side-versioning-in-workflowservicehost.md)
33
33
Describes how to host multiple versions of a workflow on a single endpoint.
34
34
35
-
- [How to: Host Multiple Versions of a Workflow Side-by-Side](~/docs/framework/windows-workflow-foundation/how-to-host-multiple-versions-of-a-workflow-side-by-side.md)
35
+
- [How to: Host Multiple Versions of a Workflow Side-by-Side](~/docs/framework/windows-workflow-foundation/how-to-host-multiple-versions-of-a-workflow-side-by-side.md)
36
36
This step in the [Getting Started Tutorial](~/docs/framework/windows-workflow-foundation/getting-started-tutorial.md) demonstrates updating a workflow definition, and hosting workflows using both the old and new definition at the same time.
37
37
38
-
- [How to: Update the Definition of a Running Workflow Instance](~/docs/framework/windows-workflow-foundation/how-to-update-the-definition-of-a-running-workflow-instance.md)
38
+
- [How to: Update the Definition of a Running Workflow Instance](~/docs/framework/windows-workflow-foundation/how-to-update-the-definition-of-a-running-workflow-instance.md)
39
39
This step in the [Getting Started Tutorial](~/docs/framework/windows-workflow-foundation/getting-started-tutorial.md) demonstrates updating persisted workflow instances to use a new workflow definition.
Copy file name to clipboardExpand all lines: xml/System.Runtime.Loader/AssemblyLoadContext.xml
+17-12Lines changed: 17 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -460,20 +460,25 @@ For more information, see [How to use and debug assembly unloadability in .NET C
460
460
<formattype="text/markdown"><![CDATA[
461
461
462
462
## Remarks
463
-
<xref:System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyName%2A> loads an assembly by resolving the <xref:System.Reflection.AssemblyName>. This triggers a full resolution. The resolution fallback sequence follows this process:
464
-
1. The method calls <xref:System.Runtime.Loader.AssemblyLoadContext.Load(System.Reflection.AssemblyName)>.
465
-
> [!IMPORTANT]
466
-
> <xref:System.Runtime.Loader.AssemblyLoadContext.Load(System.Reflection.AssemblyName)> must not call this method to prevent recursive stack overflow.
467
-
2. Unless the assembly is loaded or an exception is thrown, the method attempts to load the assembly in the default <xref:System.Runtime.Loader.AssemblyLoadContext>.
468
-
3. Unless the assembly is loaded or an exception is thrown, the method fires the <xref:System.Runtime.Loader.AssemblyLoadContext.Resolving> event.
469
-
4. Unless the assembly is loaded or an exception is thrown, the method fires the <xref:System.AppDomain.AssemblyResolve> event.
463
+
464
+
<xref:System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyName%2A> loads an assembly by resolving the <xref:System.Reflection.AssemblyName>. This triggers a full resolution. The resolution fallback sequence follows this process:
465
+
466
+
1. The method calls <xref:System.Runtime.Loader.AssemblyLoadContext.Load(System.Reflection.AssemblyName)>.
467
+
468
+
> [!IMPORTANT]
469
+
> <xref:System.Runtime.Loader.AssemblyLoadContext.Load(System.Reflection.AssemblyName)> must not call this method to prevent recursive stack overflow.
470
+
471
+
2. Unless the assembly is loaded or an exception is thrown, the method attempts to load the assembly in the default <xref:System.Runtime.Loader.AssemblyLoadContext>.
472
+
3. Unless the assembly is loaded or an exception is thrown, the method fires the <xref:System.Runtime.Loader.AssemblyLoadContext.Resolving> event.
473
+
4. Unless the assembly is loaded or an exception is thrown, the method fires the <xref:System.AppDomain.AssemblyResolve> event.
470
474
471
-
> [!NOTE]
472
-
> <xref:System.IO.FileLoadException> is thrown if `assemblyRef` specifies the full assembly name, and the first assembly that matches the simple name has a incompatible version or culture. The loader does not continue probing for other assemblies that match the simple name.
475
+
> [!NOTE]
476
+
> <xref:System.IO.FileLoadException> is thrown if `assemblyRef` specifies the full assembly name, and the first assembly that matches the simple name has a incompatible version or culture. The loader does not continue probing for other assemblies that match the simple name.
477
+
478
+
Each <xref:System.Runtime.Loader.AssemblyLoadContext> can load only:
473
479
474
-
Each <xref:System.Runtime.Loader.AssemblyLoadContext> can load only:
475
-
* One version of an executable assembly.
476
-
* One version of a satellite assembly for each culture.
480
+
* One version of an executable assembly.
481
+
* One version of a satellite assembly for each culture.
Copy file name to clipboardExpand all lines: xml/System.ServiceModel.Description/WsdlEndpointConversionContext.xml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,9 @@
20
20
<formattype="text/markdown"><![CDATA[
21
21
22
22
## Remarks
23
-
The <xref:System.ServiceModel.Description.WsdlEndpointConversionContext> class represents the context in which the custom WSDL for an endpoint is either exported using <xref:System.ServiceModel.Description.IWsdlExportExtension?displayProperty=nameWithType> or imported using <xref:System.ServiceModel.Description.IWsdlImportExtension?displayProperty=nameWithType>. The following properties enable you to retrieve the WSDL document object model for the current WSDL:
23
+
The <xref:System.ServiceModel.Description.WsdlEndpointConversionContext> class represents the context in which the custom WSDL for an endpoint is either exported using <xref:System.ServiceModel.Description.IWsdlExportExtension?displayProperty=nameWithType> or imported using <xref:System.ServiceModel.Description.IWsdlImportExtension?displayProperty=nameWithType>.
24
+
25
+
The following properties enable you to retrieve the WSDL document object model for the current WSDL:
24
26
25
27
- The <xref:System.ServiceModel.Description.WsdlEndpointConversionContext.ContractConversionContext%2A> property gets the <xref:System.ServiceModel.Description.WsdlContractConversionContext?displayProperty=nameWithType> for the endpoint contract.
26
28
@@ -30,9 +32,7 @@
30
32
31
33
- The <xref:System.ServiceModel.Description.WsdlEndpointConversionContext.WsdlPort%2A> property gets the port for the current endpoint.
32
34
33
-
-
34
-
35
-
- The following methods enable you to add or remove custom WSDL elements to the appropriate scopes in the exported or imported WSDL:
35
+
The following methods enable you to add or remove custom WSDL elements to the appropriate scopes in the exported or imported WSDL:
36
36
37
37
- The <xref:System.ServiceModel.Description.WsdlEndpointConversionContext.GetFaultBinding%2A> method returns the fault binding for the specified fault.
Copy file name to clipboardExpand all lines: xml/System.Windows.Forms.DataVisualization.Charting/BorderSkinStyle.xml
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,13 @@
18
18
<formattype="text/markdown"><![CDATA[
19
19
20
20
## Remarks
21
-
The <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkin> class represents the style of the border skin used for a chart image. If you set the <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkin.SkinStyle> property to None, no skin will be used. This is the default value for the <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkin.SkinStyle> property.
21
+
22
+
The <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkin> class represents the style of the border skin used for a chart image. If you set the <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkin.SkinStyle> property to None, no skin will be used. This is the default value for the <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkin.SkinStyle> property.
22
23
23
24
> [!NOTE]
24
-
> The difference between the sets of border skin styles that use frames and follow either the naming convention "FrameThin*" or "FrameTitle*" (for example, <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.FrameThin1> or <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.FrameTitle1>) is the shape and thickness of their frames.
25
+
> The difference between the sets of border skin styles that use frames and follow either the naming convention "FrameThin\*" or "FrameTitle\*" (for example, <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.FrameThin1> or <xref:System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.FrameTitle1>) is the shape and thickness of their frames.
25
26
26
-
In addition, if you use one of the "FrameThin" style border skins, the title of the chart will not be displayed. However, if you use one of the "FrameTitle" style border skins, the title of the chart will appear in the top-horizontal part of the frame.
27
+
In addition, if you use one of the "FrameThin" style border skins, the title of the chart will not be displayed. However, if you use one of the "FrameTitle" style border skins, the title of the chart will appear in the top-horizontal part of the frame.
Copy file name to clipboardExpand all lines: xml/System.Windows.Threading/DispatcherFrame.xml
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -99,15 +99,14 @@
99
99
<formattype="text/markdown"><![CDATA[
100
100
101
101
## Remarks
102
-
<xref:System.Windows.Threading.DispatcherFrame> typically fall into two categories:
103
-
104
-
- Long running, general purpose frames, that exit only when instructed to. These frames should exit when they are requested.
105
-
106
-
- Short running, very specific frames that exit when an important criteria is met. These frames may consider not exiting when they are requested in favor of waiting for their exit criteria to be met. These frames should have a time-out associated with them.
107
-
108
-
-
109
-
110
-
- At application shutdown, all frames are request to exit.
102
+
103
+
<xref:System.Windows.Threading.DispatcherFrame> typically fall into two categories:
104
+
105
+
- Long running, general purpose frames, that exit only when instructed to. These frames should exit when they are requested.
106
+
107
+
- Short running, very specific frames that exit when an important criteria is met. These frames may consider not exiting when they are requested in favor of waiting for their exit criteria to be met. These frames should have a time-out associated with them.
108
+
109
+
At application shutdown, all frames are requested to exit.
Copy file name to clipboardExpand all lines: xml/System/ArgumentOutOfRangeException.xml
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@
48
48
<formattype="text/markdown"><![CDATA[
49
49
50
50
## Remarks
51
-
An <xref:System.ArgumentOutOfRangeException> exception is thrown when a method is invoked and at least one of the arguments passed to the method is not `null` and contains an invalid value that is not a member of the set of values expected for the argument. The <xref:System.ArgumentException.ParamName%2A> property identifies the invalid argument, and the <xref:System.ArgumentOutOfRangeException.ActualValue%2A> property, if a value is present, identifies the invalid value.
51
+
An <xref:System.ArgumentOutOfRangeException> exception is thrown when a method is invoked and at least one of the arguments passed to the method is not `null` and contains an invalid value that is not a member of the set of values expected for the argument. The <xref:System.ArgumentException.ParamName%2A> property identifies the invalid argument, and the <xref:System.ArgumentOutOfRangeException.ActualValue%2A> property, if a value is present, identifies the invalid value.
52
52
53
53
Typically, an <xref:System.ArgumentOutOfRangeException> results from developer error. Instead of handling the exception in a `try`/`catch` block, you should eliminate the cause of the exception or, if the argument is returned by a method call or input by the user before being passed to the method that throws the exception, you should validate arguments before passing them to the method.
54
54
@@ -60,7 +60,7 @@
60
60
61
61
- String manipulation methods in the <xref:System.String> class.
62
62
63
-
The conditions in which an <xref:System.ArgumentOutOfRangeException> exception is thrown include the following:
63
+
The conditions in which an <xref:System.ArgumentOutOfRangeException> exception is thrown include the following:
64
64
65
65
You are retrieving the member of a collection by its index number, and the index number is invalid.
66
66
This is the most common cause of an <xref:System.ArgumentOutOfRangeException> exception. Typically, the index number is invalid for one of three reasons:
You've attempted to extract a substring that is outside the range of the current string.
135
+
- You've attempted to extract a substring that is outside the range of the current string.
138
136
The methods that extract substrings all require that you specify the starting position of the substring and, for substrings that do not continue to the end of the string, the number of characters in the substring. Note that this is not the *index* of the last character in the substring.
139
137
140
138
An <xref:System.ArgumentOutOfRangeException> exception is typically thrown in this case because you've incorrectly calculated the number of characters in the substring. If you are using a search method like <xref:System.String.IndexOf%2A?displayProperty=nameWithType> to identify the starting and ending positions of a substring:
0 commit comments