e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
31 lines
1.6 KiB
C#
31 lines
1.6 KiB
C#
//----------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//----------------------------------------------------------------
|
|
|
|
namespace System.ServiceModel.Discovery.Version11
|
|
{
|
|
using System.ServiceModel;
|
|
|
|
[ServiceContract(
|
|
Name = ProtocolStrings.ContractNames.DiscoveryManagedContractName,
|
|
Namespace = ProtocolStrings.Version11.Namespace)]
|
|
interface IDiscoveryContractManaged11
|
|
{
|
|
[OperationContract(Action = ProtocolStrings.Version11.ProbeAction, ReplyAction = ProtocolStrings.Version11.ProbeMatchesAction)]
|
|
ProbeMatchesMessage11 ProbeOperation(ProbeMessage11 request);
|
|
|
|
[OperationContract(Action = ProtocolStrings.Version11.ProbeAction, ReplyAction = ProtocolStrings.Version11.ProbeMatchesAction, AsyncPattern = true)]
|
|
IAsyncResult BeginProbeOperation(ProbeMessage11 request, AsyncCallback callback, object state);
|
|
|
|
ProbeMatchesMessage11 EndProbeOperation(IAsyncResult result);
|
|
|
|
[OperationContract(Action = ProtocolStrings.Version11.ResolveAction, ReplyAction = ProtocolStrings.Version11.ResolveMatchesAction)]
|
|
ResolveMatchesMessage11 ResolveOperation(ResolveMessage11 request);
|
|
|
|
[OperationContract(Action = ProtocolStrings.Version11.ResolveAction, ReplyAction = ProtocolStrings.Version11.ResolveMatchesAction, AsyncPattern = true)]
|
|
IAsyncResult BeginResolveOperation(ResolveMessage11 request, AsyncCallback callback, object state);
|
|
|
|
ResolveMatchesMessage11 EndResolveOperation(IAsyncResult result);
|
|
}
|
|
}
|