Repository navigation
First batch of xref link fixes (#3682) - #3689
Conversation
First batch of xref fixes. Even though I took extra precautions in keeping the format the same, some xref formats might not be the one that was intended to be used. Please point them out for me and I'll update them as soon as possible (or feel free to update them yourself!).
| The SQL generation module of an [!INCLUDE[adonet_ef](../../../../../includes/adonet-ef-md.md)] provider translates a given query command tree into a single SQL SELECT statement that targets a SQL:1999-compliant database. The generated SQL should have as few nested queries as possible. The SQL generation module should not simplify the output query command tree. The [!INCLUDE[adonet_ef](../../../../../includes/adonet-ef-md.md)] will do this, for example by eliminating joins and collapsing consecutive filter nodes. | ||
|
|
||
| The <!--zz<xref:System.Data.Common.DBProviderServices> --> `System.Data.Common.DBProviderServices` class is the starting point for accessing the SQL generation layer to convert command trees into <!--zz<xref:System.Data.Common.DbCommands>--> `System.Data.Common.DbCommands`. | ||
| The <xref:System.Data.Common.DBProviderServices> class is the starting point for accessing the SQL generation layer to convert command trees into <xref:System.Data.Common.DbCommands>. |
There was a problem hiding this comment.
The reason why they were commented out was because there was something wrong with the links before. So in this case for example, DBProviderServices should be DbProviderServices.
There is no DbCommands class, so probably it should be DbCommand. (You could add a noun after to create the plural like DbCommand objects)
I'll go through them all soon to help you with this.
There was a problem hiding this comment.
Ah, I see! After we've fixed these, I'll make sure to test if the links actually reference to existing pages in the next batches.
| 1. <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement.FindCriteria%2A>, which is used to describe the service you want to call. | ||
|
|
||
| 2. <!--zz <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement.DiscoveryEndpoint%2A> --> `DiscoveryEndpoint`, which specifies the discovery endpoint to send discovery messages to. | ||
| 2. xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement.DiscoveryEndpoint%2A> which specifies the discovery endpoint to send discovery messages to. |
There was a problem hiding this comment.
missing angle bracket for the xref link. Should probably be System.ServiceModel.Discovery.DiscoveryClientBindingElement.DiscoveryEndpointProvider instead
There was a problem hiding this comment.
I read the styling guide, but I couldn't figure out when (not) to use the * (%2A) symbol, so I kept those in there.
There was a problem hiding this comment.
You can keep the %2A. It was more about the name of property that is different. Sorry for not being clear. Usually for types we don't use %2A or when we're talking about a specific API. For things that can have multiple variations like method or constructors and we want to refer to that in a generic way, then we use the %2A
mairaw
left a comment
There was a problem hiding this comment.
Thanks for making these changes. Here are some of my review comments to help you!
| --- | ||
| # ISymUnmanagedBinder::GetReaderFromStream Method | ||
| Given a metadata interface and a stream that contains the symbol store, returns the correct <<!--zz xref:ISymUnmanagedReader --> `ISymUnmanagedReader`> structure that will read the debugging symbols from the given symbol store. | ||
| Given a metadata interface and a stream that contains the symbol store, returns the correct <xref:ISymUnmanagedReader> structure that will read the debugging symbols from the given symbol store. |
There was a problem hiding this comment.
this actually should be a link to this topic instead: https://docs.microsoft.com/en-us/dotnet/framework/unmanaged-api/diagnostics/isymunmanagedreader-interface
so change this to:
[ISymUnmanagedReader](isymunmanagedreader-interface.md)
This applies to all the changes for <xref:ISymUnmanagedReader>
| - <xref:System.ServiceModel.Activities.Receive.ServiceContractName%2A> | ||
|
|
||
| - <!--zz <xref:System.ServiceModel.Activities.Receive.OperationContractName%2A> --> `System.ServiceModel.Activities.Receive.OperationContractName` | ||
| - <xref:System.ServiceModel.Activities.Receive.OperationContractName%2A> |
There was a problem hiding this comment.
perhaps it should be OperationName
| - <xref:System.ServiceModel.Activities.Receive.Action%2A> | ||
|
|
||
| - <!--zz <xref:System.ServiceModel.Activities.Receive.ValueType%2A> --> `System.ServiceModel.Activities.Receive.ValueType` | ||
| - xref:System.ServiceModel.Activities.Receive.ValueType%2A> |
There was a problem hiding this comment.
not sure what would be the replacement here
There was a problem hiding this comment.
I'm assuming it refers to the Recieve.ValueType property found here.
There was a problem hiding this comment.
Good catch. That indicates that the API page was published for a preview release but later the API got removed. So these links should be removed instead.
| - <xref:System.ServiceModel.Activities.SendReply.Action%2A> | ||
|
|
||
| - <!--zz <xref:System.ServiceModel.Activities.SendReply.ValueType%2A>--> `System.ServiceModel.Activities.SendReply.ValueType` | ||
| - xref:System.ServiceModel.Activities.SendReply.ValueType%2A> |
There was a problem hiding this comment.
not sure what would be the replacement here
There was a problem hiding this comment.
I'm assuming it refers to the SendReply.ValueType property found here.
| 2. xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement.DiscoveryEndpoint%2A> which specifies the discovery endpoint to send discovery messages to. | ||
|
|
||
| The <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement.FindCriteria%2A> property allows you to specify the service contract you are searching for, any required scope URIs, and the maximum number of time to attempt to open the channel. The contract type is specified by calling the constructor <<!--zz <xref:System.ServiceModel.Discovery.FindCriteria%2A> --> `FindCriteria`> . Scope URIs can be added to the <xref:System.ServiceModel.Discovery.FindCriteria.Scopes%2A> property. The <xref:System.ServiceModel.Discovery.FindCriteria.MaxResults%2A> property allows you to specify the maximum number of results to which the client tries to connect to. When a probe response is received the client attempts to open the channel using the endpoint address from the probe response. If an exception occurs the client moves on to the next probe response, waiting for more responses to be received if necessary. It continues to do this until the channel is successfully opened or the maximum number of results is reached. [!INCLUDE[crabout](../../../../includes/crabout-md.md)] these settings, see <<!--zz <xref:System.ServiceModel.Discovery.FindCriteria%2A> --> `FindCriteria`>. | ||
| The <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement.FindCriteria%2A> property allows you to specify the service contract you are searching for, any required scope URIs, and the maximum number of time to attempt to open the channel. The contract type is specified by calling the constructor <xref:System.ServiceModel.Discovery.FindCriteria%2A>. Scope URIs can be added to the <xref:System.ServiceModel.Discovery.FindCriteria.Scopes%2A> property. The <xref:System.ServiceModel.Discovery.FindCriteria.MaxResults%2A> property allows you to specify the maximum number of results to which the client tries to connect to. When a probe response is received the client attempts to open the channel using the endpoint address from the probe response. If an exception occurs the client moves on to the next probe response, waiting for more responses to be received if necessary. It continues to do this until the channel is successfully opened or the maximum number of results is reached. [!INCLUDE[crabout](../../../../includes/crabout-md.md)] these settings, see <xref:System.ServiceModel.Discovery.FindCriteria%2A>. |
There was a problem hiding this comment.
1st System.ServiceModel.Discovery.FindCriteria%2A -> System.ServiceModel.Discovery.FindCriteria.%23ctor%2A
2nd System.ServiceModel.Discovery.FindCriteria%2A -> System.ServiceModel.Discovery.FindCriteria
| The <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement.DiscoveryEndpoint%2A> property allows you to specify the discovery endpoint to use. Normally this is a <xref:System.ServiceModel.Discovery.UdpDiscoveryEndpoint>, but it can be any valid endpoint. | ||
|
|
||
| When you are creating the binding to use to communicate with the service, you must be careful to use the exact same binding as the service. The only difference is the client binding has a <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement> on the top of the stack. If service is using one of the system-provided bindings, create a new <xref:System.ServiceModel.Channels.CustomBinding> and pass in the system-provided binding to the <!--zz <xref:System.ServiceModel.CustomBinding.CustomBinding%2A> `CustomBinding` --> constructor. Then you can add the <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement> by calling `Insert` on the <!--zz <xref:System.ServiceModel.Channels.Binding.Elements%2A> --> `Elements` property. | ||
| When you are creating the binding to use to communicate with the service, you must be careful to use the exact same binding as the service. The only difference is the client binding has a <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement> on the top of the stack. If service is using one of the system-provided bindings, create a new <xref:System.ServiceModel.Channels.CustomBinding> and pass in the system-provided binding to the <xref:System.ServiceModel.CustomBinding.CustomBinding%2A> constructor. Then you can add the <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement%2A> by calling `Insert` on the <xref:System.ServiceModel.Channels.Binding.Elements%2A> property. |
There was a problem hiding this comment.
System.ServiceModel.CustomBinding.CustomBinding%2A -> System.ServiceModel.Channels.CustomBinding.%23ctor%2A
| Demonstrates how to implement a binding that stacks <xref:System.ServiceModel.Channels.HttpTransportBindingElement> or the <xref:System.ServiceModel.Channels.HttpsTransportBindingElement> on top of the <xref:System.ServiceModel.Channels.BinaryMessageEncodingBindingElement>. | ||
|
|
||
| <!--zz <xref:System.ServiceModel.WSStreamedHttpBinding> --> `System.ServiceModel.WSStreamedHttpBinding` | ||
| <xref:System.ServiceModel.WSStreamedHttpBinding> |
There was a problem hiding this comment.
should actually link to a topic:
[WSStreamedHttpBinding](wsstreamedhttpbinding.md)
| - `[OverloadGroup]` puts together a set of arguments, so that the user of the activity can choose between using one set or another. The user cannot use arguments from different Overload Groups in the same instance. | ||
|
|
||
| After setting up different workflows, call <xref:System.Activities.Validation.ActivityValidationServices.Validate%2A> which returns a <xref:System.Activities.Validation.ValidationResults> collection of <!--zz <xref:System.Activities.Validation.ConstraintViolation>--> `System.Activities.Validation.ConstraintViolation`. Print the <!--zz <xref:System.Activities.Validation.ConstraintViolation>--> `System.Activities.Validation.ConstraintViolation` objects to the console. | ||
| After setting up different workflows, call <xref:System.Activities.Validation.ActivityValidationServices.Validate%2A> which returns a <xref:System.Activities.Validation.ValidationResults> collection of <xref:System.Activities.Validation.ConstraintViolation>. Print the <xref:System.Activities.Validation.ConstraintViolation> objects to the console. |
There was a problem hiding this comment.
should probably just be Constraint
| --- | ||
| # Using the InvokeMethod Activity | ||
| This sample demonstrates how to use the <!--zz <xref:System.Activities.Statements.InvokeMethod%601> -->[<code>System.Activities.Statements.InvokeMethod\`1</code>](https://msdn.microsoft.com/library/dd647677.aspx) activity to invoke public methods in public classes. The <!--zz <xref:System.Activities.Statements.InvokeMethod%601> -->[<code>System.Activities.Statements.InvokeMethod\`1</code>](https://msdn.microsoft.com/library/dd647677.aspx) activity allows a workflow to call methods against objects, pass in parameters, get the return value, specify types for generic methods, and specify whether the method is synchronous or asynchronous. | ||
| This sample demonstrates how to use the <xref:System.Activities.Statements.InvokeMethod%601> activity to invoke public methods in public classes. The <xref:System.Activities.Statements.InvokeMethod%601> activity allows a workflow to call methods against objects, pass in parameters, get the return value, specify types for generic methods, and specify whether the method is synchronous or asynchronous. |
There was a problem hiding this comment.
I think this class was removed from the product after being added for a preview release. We might have to delete this topic.
There was a problem hiding this comment.
OK. Want me to revert the changes for now?
| The .NET Framework for Windows Store apps is a subset of the full .NET Framework. Because of security and other requirements for Windows Store apps, you cannot use the full set of .NET Framework APIs to open and read files. For more information, see [.NET for Windows Store apps overview](http://msdn.microsoft.com/library/windows/apps/br230302.aspx). However, you may want to use .NET Framework APIs for other stream manipulation operations. To manipulate these streams, you may find it necessary to convert between a .NET Framework stream type such as <xref:System.IO.MemoryStream> or <xref:System.IO.FileStream>, and a Windows Runtime stream such as [IInputStream](http://msdn.microsoft.com/library/windows/apps/windows.storage.streams.iinputstream.aspx), [IOutputStream](http://msdn.microsoft.com/library/windows/apps/windows.storage.streams.ioutputstream.aspx), or [IRandomAccessStream](http://msdn.microsoft.com/library/windows/apps/windows.storage.streams.irandomaccessstream.aspx). | ||
|
|
||
| The <!--zz <xref:System.IO.WindowsRuntimeStreamExtensions>--> `System.IO.WindowsRuntimeStreamExtensions` class contains methods that make these conversions easy. However, there are underlying differences between streams in the .NET Framework and the Windows Runtime that will affect the results of using these methods. The details are described in the following sections. | ||
| The <xref:System.IO.WindowsRuntimeStreamExtensions> class contains methods that make these conversions easy. However, there are underlying differences between streams in the .NET Framework and the Windows Runtime that will affect the results of using these methods. The details are described in the following sections. |
There was a problem hiding this comment.
this API is not part of the docs yet. let's leave untouched for now.
|
@mairaw Files have been updated according to your reviews. |
| |Method|Description| | ||
| |------------|-----------------| | ||
| |[GetReaderForFile Method](../../../../docs/framework/unmanaged-api/diagnostics/isymunmanagedbinder-getreaderforfile-method.md)|Given a metadata interface and a file name, returns the correct <<!--zz xref:ISymUnmanagedReader --> `ISymUnmanagedReader`> structure that will read the debugging symbols associated with the module.| | ||
| |[GetReaderForFile Method](../../../../docs/framework/unmanaged-api/diagnostics/isymunmanagedbinder-getreaderforfile-method.md)|Given a metadata interface and a file name, returns the correct <xref:ISymUnmanagedReader> structure that will read the debugging symbols associated with the module.| |
There was a problem hiding this comment.
Change xref:ISymUnmanagedReader to [ISymUnmanagedReader](isymunmanagedreader-interface.md) like in the previous topic
| 2. <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement.DiscoveryEndpointProvider%2A> which specifies the discovery endpoint to send discovery messages to. | ||
|
|
||
| The <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement.FindCriteria%2A> property allows you to specify the service contract you are searching for, any required scope URIs, and the maximum number of time to attempt to open the channel. The contract type is specified by calling the constructor <<!--zz <xref:System.ServiceModel.Discovery.FindCriteria%2A> --> `FindCriteria`> . Scope URIs can be added to the <xref:System.ServiceModel.Discovery.FindCriteria.Scopes%2A> property. The <xref:System.ServiceModel.Discovery.FindCriteria.MaxResults%2A> property allows you to specify the maximum number of results to which the client tries to connect to. When a probe response is received the client attempts to open the channel using the endpoint address from the probe response. If an exception occurs the client moves on to the next probe response, waiting for more responses to be received if necessary. It continues to do this until the channel is successfully opened or the maximum number of results is reached. [!INCLUDE[crabout](../../../../includes/crabout-md.md)] these settings, see <<!--zz <xref:System.ServiceModel.Discovery.FindCriteria%2A> --> `FindCriteria`>. | ||
| The <xref:System.ServiceModel.Discovery.FindCriteria.%23ctor%2A> property allows you to specify the service contract you are searching for, any required scope URIs, and the maximum number of time to attempt to open the channel. The contract type is specified by calling the constructor <xref:System.ServiceModel.Discovery.FindCriteria>. Scope URIs can be added to the <xref:System.ServiceModel.Discovery.FindCriteria.Scopes%2A> property. The <xref:System.ServiceModel.Discovery.FindCriteria.MaxResults%2A> property allows you to specify the maximum number of results to which the client tries to connect to. When a probe response is received the client attempts to open the channel using the endpoint address from the probe response. If an exception occurs the client moves on to the next probe response, waiting for more responses to be received if necessary. It continues to do this until the channel is successfully opened or the maximum number of results is reached. [!INCLUDE[crabout](../../../../includes/crabout-md.md)] these settings, see <xref:System.ServiceModel.Discovery.FindCriteria%2A>. |
There was a problem hiding this comment.
<xref:System.ServiceModel.Discovery.FindCriteria%2A> -> <xref:System.ServiceModel.Discovery.FindCriteria>
| The <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement.DiscoveryEndpointProvider%2A> property allows you to specify the discovery endpoint to use. Normally this is a <xref:System.ServiceModel.Discovery.UdpDiscoveryEndpoint>, but it can be any valid endpoint. | ||
|
|
||
| When you are creating the binding to use to communicate with the service, you must be careful to use the exact same binding as the service. The only difference is the client binding has a <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement> on the top of the stack. If service is using one of the system-provided bindings, create a new <xref:System.ServiceModel.Channels.CustomBinding> and pass in the system-provided binding to the <!--zz <xref:System.ServiceModel.CustomBinding.CustomBinding%2A> `CustomBinding` --> constructor. Then you can add the <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement> by calling `Insert` on the <!--zz <xref:System.ServiceModel.Channels.Binding.Elements%2A> --> `Elements` property. | ||
| When you are creating the binding to use to communicate with the service, you must be careful to use the exact same binding as the service. The only difference is the client binding has a <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement> on the top of the stack. If service is using one of the system-provided bindings, create a new <xref:System.ServiceModel.Channels.CustomBinding> and pass in the system-provided binding to the <xref:System.ServiceModel.Channels.CustomBinding.%23ctor%2A> constructor. Then you can add the <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement%2A> by calling `Insert` on the <xref:System.ServiceModel.Channels.Binding.Elements%2A> property. |
There was a problem hiding this comment.
<xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement%2A> -> <xref:System.ServiceModel.Discovery.DiscoveryClientBindingElement>
<xref:System.ServiceModel.Channels.Binding.Elements%2A> doesn't exist. Wondering if it should go to this API instead: https://docs.microsoft.com/en-us/dotnet/api/system.servicemodel.channels.custombinding.elements
There was a problem hiding this comment.
xref:System.ServiceModel.Channels.Binding.Elements%2A doesn't exist. Wondering if it should go to this API instead: https://docs.microsoft.com/en-us/dotnet/api/system.servicemodel.channels.custombinding.elements
I think so too, yes! Thank you for pointing that out!
|
@mairaw Your requested changes have been committed. Thanks for all the help! |
|
Resolved some merge conflicts. I'll review it again as soon as build finishes. Thanks @RutgerM! |
First batch of xref fixes for #3682.
I took extra precautions in keeping the style formatting the same, but some styling might not be the one that was intended. Please point them out for me and I'll update them as soon as possible (or feel free to update them yourself!).
Updated files: