RequestChannel.RequestAsync 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.
Overloads
RequestAsync(Message) | |
RequestAsync(Message, TimeSpan) |
RequestAsync(Message)
public:
virtual System::Threading::Tasks::Task<System::ServiceModel::Channels::Message ^> ^ RequestAsync(System::ServiceModel::Channels::Message ^ message);
public System.Threading.Tasks.Task<System.ServiceModel.Channels.Message> RequestAsync (System.ServiceModel.Channels.Message message);
abstract member RequestAsync : System.ServiceModel.Channels.Message -> System.Threading.Tasks.Task<System.ServiceModel.Channels.Message>
override this.RequestAsync : System.ServiceModel.Channels.Message -> System.Threading.Tasks.Task<System.ServiceModel.Channels.Message>
Public Function RequestAsync (message As Message) As Task(Of Message)
Parameters
- message
- Message
Returns
Applies to
RequestAsync(Message, TimeSpan)
public:
virtual System::Threading::Tasks::Task<System::ServiceModel::Channels::Message ^> ^ RequestAsync(System::ServiceModel::Channels::Message ^ message, TimeSpan timeout);
public System.Threading.Tasks.Task<System.ServiceModel.Channels.Message> RequestAsync (System.ServiceModel.Channels.Message message, TimeSpan timeout);
abstract member RequestAsync : System.ServiceModel.Channels.Message * TimeSpan -> System.Threading.Tasks.Task<System.ServiceModel.Channels.Message>
override this.RequestAsync : System.ServiceModel.Channels.Message * TimeSpan -> System.Threading.Tasks.Task<System.ServiceModel.Channels.Message>
Public Function RequestAsync (message As Message, timeout As TimeSpan) As Task(Of Message)
Parameters
- message
- Message
- timeout
- TimeSpan
Returns
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.
משוב
https://aka.ms/ContentUserFeedback.
בקרוב: במהלך 2024, נפתור בעיות GitHub כמנגנון המשוב לתוכן ונחליף אותו במערכת משוב חדשה. לקבלת מידע נוסף, ראה:שלח והצג משוב עבור