DiscoveryGetResponseAsync(IPEndPoint, CancellationToken) Method |
Gets the response.
Namespace: Lextm.SharpSnmpLib.MessagingAssembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntaxpublic Task<ReportMessage> GetResponseAsync(
IPEndPoint receiver,
CancellationToken token
)
Public Function GetResponseAsync (
receiver As IPEndPoint,
token As CancellationToken
) As Task(Of ReportMessage)
Dim instance As Discovery
Dim receiver As IPEndPoint
Dim token As CancellationToken
Dim returnValue As Task(Of ReportMessage)
returnValue = instance.GetResponseAsync(receiver,
token)
public:
Task<ReportMessage^>^ GetResponseAsync(
IPEndPoint^ receiver,
CancellationToken token
)
member GetResponseAsync :
receiver : IPEndPoint *
token : CancellationToken -> Task<ReportMessage>
Parameters
- receiver IPEndPoint
- The receiver.
- token CancellationToken
- The cancellation token.
Return Value
TaskReportMessage
See Also