HttpResponseMockMessage 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
HttpResponseMockMessage() |
Initializes a new instance of the HttpResponseMockMessage class. Contain OK(200) status code, an empty reason phrase and an empty content. |
HttpResponseMockMessage(HttpResponseMock) |
Initializes a new instance of the HttpResponseMockMessage class. |
HttpResponseMockMessage()
Initializes a new instance of the HttpResponseMockMessage class. Contain OK(200) status code, an empty reason phrase and an empty content.
public HttpResponseMockMessage ();
Public Sub New ()
Applies to
HttpResponseMockMessage(HttpResponseMock)
Initializes a new instance of the HttpResponseMockMessage class.
public HttpResponseMockMessage (Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.HttpRequestMocks.HttpResponseMock httpResponseMock);
new Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.HttpRequestMocks.HttpResponseMockMessage : Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.HttpRequestMocks.HttpResponseMock -> Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.HttpRequestMocks.HttpResponseMockMessage
Public Sub New (httpResponseMock As HttpResponseMock)
Parameters
- httpResponseMock
- HttpResponseMock
The mock that provides data.