RequestMetadata Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RequestMetadata() |
Initializes a new instance of the RequestMetadata class. |
RequestMetadata(String, String, String) |
Initializes a new instance of the RequestMetadata class. |
RequestMetadata()
- Source:
- RequestMetadata.cs
- Source:
- RequestMetadata.cs
Initializes a new instance of the RequestMetadata class.
public:
RequestMetadata();
public RequestMetadata ();
Public Sub New ()
Remarks
This constructor initializes MethodType to GET
, and all other properties to "unknown"
.
Applies to
RequestMetadata(String, String, String)
- Source:
- RequestMetadata.cs
- Source:
- RequestMetadata.cs
Initializes a new instance of the RequestMetadata class.
public RequestMetadata (string methodType, string requestRoute, string requestName = "unknown");
new Microsoft.Extensions.Http.Diagnostics.RequestMetadata : string * string * string -> Microsoft.Extensions.Http.Diagnostics.RequestMetadata
Public Sub New (methodType As String, requestRoute As String, Optional requestName As String = "unknown")
Parameters
- methodType
- String
HTTP method type of the request.
- requestRoute
- String
Route of the request.
- requestName
- String
Name of the request.
Exceptions
Any argument is null
.
Remarks
The DependencyName property is initialized to "unknown"
.
Applies to
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for