update 20240812
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="GENERATOR" content="VSdocman - documentation generator; https://www.helixoft.com" />
|
||||
<link rel="icon" href="favicon.ico">
|
||||
<title>InvalidSample Constructor</title>
|
||||
<title>HelpPageSampleGenerator.GetActionSample Method</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="msdn2019/toc.css" />
|
||||
<script src="msdn2019/toc.js"></script>
|
||||
@@ -74,11 +74,11 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
</div>
|
||||
|
||||
<div id="mainBody">
|
||||
<h1 class="title">InvalidSample Constructor</h1>
|
||||
<h1 class="title">HelpPageSampleGenerator.GetActionSample Method</h1>
|
||||
|
||||
<div class="metadata">
|
||||
Namespace:
|
||||
<a href="topic_000000000000033B.html">API_NetFramework.Areas.HelpPage</a>
|
||||
<a href="topic_0000000000000354.html">API_NetFramework.Areas.HelpPage</a>
|
||||
|
||||
|
||||
|
||||
@@ -89,6 +89,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
|
||||
|
||||
|
||||
<summary-info>Search for samples that are provided directly through <a target="_top" href="topic_00000000000003AE.html" onclick="this.target='';return true;">ActionSamples</a>.</summary-info>
|
||||
|
||||
|
||||
|
||||
@@ -138,7 +139,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeVB">
|
||||
<pre xml:space="preserve" class="brush: vb">Public Sub New( _ <br /> ByVal <i>errorMessage</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a> _ <br />)</pre>
|
||||
<pre xml:space="preserve" class="brush: vb">Public Overridable Function GetActionSample( _ <br /> ByVal <i>controllerName</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>, _ <br /> ByVal <i>actionName</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>, _ <br /> ByVal <i>parameterNames</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>(Of <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>), _ <br /> ByVal <i>type</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a>, _ <br /> ByVal <i>formatter</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.formatting.mediatypeformatter">MediaTypeFormatter</a>, _ <br /> ByVal <i>mediaType</i> As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>, _ <br /> ByVal <i>sampleDirection</i> As <a target="_top" href="topic_00000000000003D4.html" onclick="this.target='';return true;">SampleDirection</a> _ <br />) As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">Object</a></pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -177,7 +178,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeCsharp">
|
||||
<pre xml:space="preserve" class="brush: csharp">public InvalidSample( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a> <i>errorMessage</i> <br />)</pre>
|
||||
<pre xml:space="preserve" class="brush: csharp">public virtual <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a> GetActionSample( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a> <i>controllerName</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a> <i>actionName</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a>> <i>parameterNames</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a> <i>type</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.formatting.mediatypeformatter">MediaTypeFormatter</a> <i>formatter</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a> <i>mediaType</i>, <br /> <a target="_top" href="topic_00000000000003D4.html" onclick="this.target='';return true;">SampleDirection</a> <i>sampleDirection</i> <br />)</pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -217,7 +218,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeCpp">
|
||||
<pre xml:space="preserve" class="brush: cpp">public: <br />InvalidSample( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>^ <i>errorMessage</i> <br />) </pre>
|
||||
<pre xml:space="preserve" class="brush: cpp">public: <br />virtual <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>^ GetActionSample( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>^ <i>controllerName</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>^ <i>actionName</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a>^>^ <i>parameterNames</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a>^ <i>type</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.formatting.mediatypeformatter">MediaTypeFormatter</a>^ <i>formatter</i>, <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>^ <i>mediaType</i>, <br /> <a target="_top" href="topic_00000000000003D4.html" onclick="this.target='';return true;">SampleDirection</a> <i>sampleDirection</i> <br />) </pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -256,7 +257,7 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
</div>
|
||||
|
||||
<div class="codeSnippetCode codeJScript">
|
||||
<pre xml:space="preserve" class="brush: js">public function InvalidSample( <br /> <i>errorMessage</i> : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">String</a> <br />);</pre>
|
||||
<pre xml:space="preserve" class="brush: js">JScript does not support generic types and methods.</pre>
|
||||
</div>
|
||||
<div class="codeSnippetCode codeNA">
|
||||
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
|
||||
@@ -268,10 +269,10 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
|
||||
|
||||
<h4 class="subHeading">
|
||||
Parameters</h4><dl paramName="errorMessage" class="parameterList">
|
||||
Parameters</h4><dl paramName="controllerName" class="parameterList">
|
||||
<dt>
|
||||
<span class="parameter">
|
||||
errorMessage
|
||||
controllerName
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
@@ -279,11 +280,96 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
</dd>
|
||||
</dl>
|
||||
<p>
|
||||
|
||||
Name of the controller.
|
||||
</p>
|
||||
<dl paramName="actionName" class="parameterList">
|
||||
<dt>
|
||||
<span class="parameter">
|
||||
actionName
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a>
|
||||
</dd>
|
||||
</dl>
|
||||
<p>
|
||||
Name of the action.
|
||||
</p>
|
||||
<dl paramName="parameterNames" class="parameterList">
|
||||
<dt>
|
||||
<span class="parameter">
|
||||
parameterNames
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.string">string</a>>
|
||||
</dd>
|
||||
</dl>
|
||||
<p>
|
||||
The parameter names.
|
||||
</p>
|
||||
<dl paramName="type" class="parameterList">
|
||||
<dt>
|
||||
<span class="parameter">
|
||||
type
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.type">Type</a>
|
||||
</dd>
|
||||
</dl>
|
||||
<p>
|
||||
The CLR type.
|
||||
</p>
|
||||
<dl paramName="formatter" class="parameterList">
|
||||
<dt>
|
||||
<span class="parameter">
|
||||
formatter
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.formatting.mediatypeformatter">MediaTypeFormatter</a>
|
||||
</dd>
|
||||
</dl>
|
||||
<p>
|
||||
The formatter.
|
||||
</p>
|
||||
<dl paramName="mediaType" class="parameterList">
|
||||
<dt>
|
||||
<span class="parameter">
|
||||
mediaType
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.net.http.headers.mediatypeheadervalue">MediaTypeHeaderValue</a>
|
||||
</dd>
|
||||
</dl>
|
||||
<p>
|
||||
The media type.
|
||||
</p>
|
||||
<dl paramName="sampleDirection" class="parameterList">
|
||||
<dt>
|
||||
<span class="parameter">
|
||||
sampleDirection
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<a target="_top" href="topic_00000000000003D4.html" onclick="this.target='';return true;">SampleDirection</a>
|
||||
</dd>
|
||||
</dl>
|
||||
<p>
|
||||
The value indicating whether the sample is for a request or for a response.
|
||||
</p>
|
||||
|
||||
<p />
|
||||
|
||||
<h4 class="subHeading">
|
||||
Return Value</h4>
|
||||
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/system.object">object</a>
|
||||
<p>
|
||||
The sample that matches the parameters.
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -371,11 +457,11 @@ document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
|
||||
|
||||
<div id="seeAlsoSection" class="section">
|
||||
<div>
|
||||
<a href="topic_00000000000003B3.html">InvalidSample Class</a><br />
|
||||
<a href="topic_00000000000003AB.html">HelpPageSampleGenerator Class</a><br />
|
||||
|
||||
|
||||
|
||||
<a href="topic_000000000000033B.html">API_NetFramework.Areas.HelpPage Namespace</a><br />
|
||||
<a href="topic_0000000000000354.html">API_NetFramework.Areas.HelpPage Namespace</a><br />
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user