e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
21 lines
1008 B
C#
21 lines
1008 B
C#
//------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//------------------------------------------------------------
|
|
namespace System.ServiceModel.Description
|
|
{
|
|
using System.ServiceModel;
|
|
using System.ServiceModel.Channels;
|
|
|
|
[ServiceContract(ConfigurationName = ServiceMetadataBehavior.MexContractName, Name = ServiceMetadataBehavior.MexContractName, Namespace = ServiceMetadataBehavior.MexContractNamespace)]
|
|
public interface IMetadataExchange
|
|
{
|
|
[OperationContract(Action = MetadataStrings.WSTransfer.GetAction, ReplyAction = MetadataStrings.WSTransfer.GetResponseAction)]
|
|
Message Get(Message request);
|
|
|
|
[OperationContract(Action = MetadataStrings.WSTransfer.GetAction, ReplyAction = MetadataStrings.WSTransfer.GetResponseAction, AsyncPattern = true)]
|
|
IAsyncResult BeginGet(Message request, AsyncCallback callback, object state);
|
|
Message EndGet(IAsyncResult result);
|
|
|
|
}
|
|
}
|