Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

30 lines
1.3 KiB
C#

//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
namespace System.ServiceModel.Discovery.Version11
{
using System.ServiceModel;
[ServiceContract(
Name = ProtocolStrings.ContractNames.DiscoveryAdhocResposeContractName,
Namespace = ProtocolStrings.Version11.Namespace)]
interface IDiscoveryResponseContract11
{
[OperationContract(Action = ProtocolStrings.Version11.ProbeMatchesAction, IsOneWay = true, AsyncPattern = true)]
IAsyncResult BeginProbeMatchOperation(ProbeMatchesMessage11 response, AsyncCallback callback, object state);
void EndProbeMatchOperation(IAsyncResult result);
[OperationContract(Action = ProtocolStrings.Version11.ResolveMatchesAction, IsOneWay = true, AsyncPattern = true)]
IAsyncResult BeginResolveMatchOperation(ResolveMatchesMessage11 response, AsyncCallback callback, object state);
void EndResolveMatchOperation(IAsyncResult result);
[OperationContract(Action = ProtocolStrings.Version11.HelloAction, IsOneWay = true, AsyncPattern = true)]
IAsyncResult BeginHelloOperation(HelloMessage11 message, AsyncCallback callback, object state);
void EndHelloOperation(IAsyncResult result);
}
}