File: System\ServiceModel\Discovery\Version11\IAnnouncementContract11.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.Version11
{
    using System;
    using System.ServiceModel;
 
    [ServiceContract(
        Name = ProtocolStrings.ContractNames.AnnouncementContractName,
        Namespace = ProtocolStrings.Version11.Namespace)]
    interface IAnnouncementContract11
    {
        [OperationContract(IsOneWay = true, Action = ProtocolStrings.Version11.HelloAction)]
        void HelloOperation(HelloMessage11 message);
 
        [OperationContract(IsOneWay = true, Action = ProtocolStrings.Version11.HelloAction, AsyncPattern = true)]
        IAsyncResult BeginHelloOperation(HelloMessage11 message, AsyncCallback callback, Object state);
 
        void EndHelloOperation(IAsyncResult result);
 
        [OperationContract(IsOneWay = true, Action = ProtocolStrings.Version11.ByeAction)]
        void ByeOperation(ByeMessage11 message);
 
        [OperationContract(IsOneWay = true, Action = ProtocolStrings.Version11.ByeAction, AsyncPattern = true)]
        IAsyncResult BeginByeOperation(ByeMessage11 message, AsyncCallback callback, Object state);
 
        void EndByeOperation(IAsyncResult result);
    }
}