ClientBase<TChannel>.ChannelBase<T>.IRequestChannel.Request Method
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.
Sends a message-based request.
Overloads
IRequestChannel.Request(Message) |
Sends a message-based request and returns the correlated message-based response. |
IRequestChannel.Request(Message, TimeSpan) |
Sends a message-based request and returns the correlated message-based response within a specified interval of time. |
IRequestChannel.Request(Message)
- Source:
- ClientBase.cs
- Source:
- ClientBase.cs
- Source:
- ClientBase.cs
Sends a message-based request and returns the correlated message-based response.
virtual System::ServiceModel::Channels::Message ^ System.ServiceModel.Channels.IRequestChannel.Request(System::ServiceModel::Channels::Message ^ message) = System::ServiceModel::Channels::IRequestChannel::Request;
System.ServiceModel.Channels.Message IRequestChannel.Request (System.ServiceModel.Channels.Message message);
abstract member System.ServiceModel.Channels.IRequestChannel.Request : System.ServiceModel.Channels.Message -> System.ServiceModel.Channels.Message
override this.System.ServiceModel.Channels.IRequestChannel.Request : System.ServiceModel.Channels.Message -> System.ServiceModel.Channels.Message
Function Request (message As Message) As Message Implements IRequestChannel.Request
Parameters
- message
- Message
The request message to be transmitted.
Returns
The message received in response to the request.
Implements
Applies to
IRequestChannel.Request(Message, TimeSpan)
- Source:
- ClientBase.cs
- Source:
- ClientBase.cs
- Source:
- ClientBase.cs
Sends a message-based request and returns the correlated message-based response within a specified interval of time.
virtual System::ServiceModel::Channels::Message ^ System.ServiceModel.Channels.IRequestChannel.Request(System::ServiceModel::Channels::Message ^ message, TimeSpan timeout) = System::ServiceModel::Channels::IRequestChannel::Request;
System.ServiceModel.Channels.Message IRequestChannel.Request (System.ServiceModel.Channels.Message message, TimeSpan timeout);
abstract member System.ServiceModel.Channels.IRequestChannel.Request : System.ServiceModel.Channels.Message * TimeSpan -> System.ServiceModel.Channels.Message
override this.System.ServiceModel.Channels.IRequestChannel.Request : System.ServiceModel.Channels.Message * TimeSpan -> System.ServiceModel.Channels.Message
Function Request (message As Message, timeout As TimeSpan) As Message Implements IRequestChannel.Request
Parameters
- message
- Message
The request message to be transmitted.
- timeout
- TimeSpan
The timespan that specifies the interval of time within which a response must be received.
Returns
The message received in response to the request.
Implements
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기