File: System\ServiceModel\Discovery\VersionApril2005\IDiscoveryResponseContractApril2005.cs
Project: ndp\cdf\src\NetFx40\System.ServiceModel.Discovery\System.ServiceModel.Discovery.csproj (System.ServiceModel.Discovery)
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation.  All rights reserved.
//----------------------------------------------------------------
 
namespace System.ServiceModel.Discovery.VersionApril2005
{
    using System.ServiceModel;
 
    [ServiceContract(
        Name = ProtocolStrings.ContractNames.DiscoveryAdhocResposeContractName,
        Namespace = ProtocolStrings.VersionApril2005.Namespace)]
    interface IDiscoveryResponseContractApril2005
    {
        [OperationContract(Action = ProtocolStrings.VersionApril2005.ProbeMatchesAction, IsOneWay = true, AsyncPattern = true)]
        IAsyncResult BeginProbeMatchOperation(ProbeMatchesMessageApril2005 response, AsyncCallback callback, object state);
 
        void EndProbeMatchOperation(IAsyncResult result);
 
        [OperationContract(Action = ProtocolStrings.VersionApril2005.ResolveMatchesAction, IsOneWay = true, AsyncPattern = true)]
        IAsyncResult BeginResolveMatchOperation(ResolveMatchesMessageApril2005 response, AsyncCallback callback, object state);
 
        void EndResolveMatchOperation(IAsyncResult result);
 
        [OperationContract(Action = ProtocolStrings.VersionApril2005.HelloAction, IsOneWay = true, AsyncPattern = true)]
        IAsyncResult BeginHelloOperation(HelloMessageApril2005 message, AsyncCallback callback, object state);
 
        void EndHelloOperation(IAsyncResult result);
    }
}