Share via


ResponseContract Constructors

Definition

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