e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
31 lines
1.4 KiB
C#
31 lines
1.4 KiB
C#
//----------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//----------------------------------------------------------------
|
|
|
|
namespace System.ServiceModel.Discovery.VersionApril2005
|
|
{
|
|
using System.ServiceModel;
|
|
|
|
[ServiceContract(
|
|
Namespace = ProtocolStrings.VersionApril2005.Namespace,
|
|
CallbackContract = typeof(IDiscoveryResponseContractApril2005))]
|
|
interface IDiscoveryContractApril2005
|
|
{
|
|
[OperationContract(Action = ProtocolStrings.VersionApril2005.ProbeAction, IsOneWay = true)]
|
|
void ProbeOperation(ProbeMessageApril2005 request);
|
|
|
|
[OperationContract(Action = ProtocolStrings.VersionApril2005.ProbeAction, IsOneWay = true, AsyncPattern = true)]
|
|
IAsyncResult BeginProbeOperation(ProbeMessageApril2005 request, AsyncCallback callback, object state);
|
|
|
|
void EndProbeOperation(IAsyncResult result);
|
|
|
|
[OperationContract(Action = ProtocolStrings.VersionApril2005.ResolveAction, IsOneWay = true)]
|
|
void ResolveOperation(ResolveMessageApril2005 request);
|
|
|
|
[OperationContract(Action = ProtocolStrings.VersionApril2005.ResolveAction, IsOneWay = true, AsyncPattern = true)]
|
|
IAsyncResult BeginResolveOperation(ResolveMessageApril2005 request, AsyncCallback callback, object state);
|
|
|
|
void EndResolveOperation(IAsyncResult result);
|
|
}
|
|
}
|