ResponseContract 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
ResponseContract() |
Initializes a new instance of the ResponseContract class. |
ResponseContract(Int32, String, IList<RepresentationContract>, IList<ParameterContract>) |
Initializes a new instance of the ResponseContract class. |
ResponseContract()
Initializes a new instance of the ResponseContract class.
public ResponseContract ();
Public Sub New ()
Applies to
ResponseContract(Int32, String, IList<RepresentationContract>, IList<ParameterContract>)
Initializes a new instance of the ResponseContract class.
public ResponseContract (int statusCode, string description = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.RepresentationContract> representations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.ParameterContract> headers = default);
new Microsoft.Azure.Management.ApiManagement.Models.ResponseContract : int * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.RepresentationContract> * System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.ParameterContract> -> Microsoft.Azure.Management.ApiManagement.Models.ResponseContract
Public Sub New (statusCode As Integer, Optional description As String = Nothing, Optional representations As IList(Of RepresentationContract) = Nothing, Optional headers As IList(Of ParameterContract) = Nothing)
Parameters
- statusCode
- Int32
Operation response HTTP status code.
- description
- String
Operation response description.
- representations
- IList<RepresentationContract>
Collection of operation response representations.
- headers
- IList<ParameterContract>
Collection of operation response headers.
Applies to
Azure SDK for .NET