RequestTimeoutAttribute Class
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.
Metadata that provides endpoint-specific request timeouts.
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method)]
public sealed class RequestTimeoutAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method)>]
type RequestTimeoutAttribute = class
inherit Attribute
Public NotInheritable Class RequestTimeoutAttribute
Inherits Attribute
- Inheritance
-
RequestTimeoutAttribute
- Attributes
Remarks
The default policy will be ignored with this attribute applied.
Constructors
RequestTimeoutAttribute(Int32) |
Creates a new instance of RequestTimeoutAttribute using the specified timeout. |
RequestTimeoutAttribute(String) |
Creates a new instance of RequestTimeoutAttribute using the specified policy. |
Properties
PolicyName |
The name of the policy which needs to be applied. This value is case-insensitive. |
Timeout |
The timeout to apply for this endpoint. |