e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
28 lines
1.1 KiB
C#
28 lines
1.1 KiB
C#
//-----------------------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
namespace System.ServiceModel.Activities
|
|
{
|
|
using System.Activities;
|
|
using System.Runtime.DurableInstancing;
|
|
|
|
public abstract class SendReceiveExtension
|
|
{
|
|
public abstract HostSettings HostSettings { get; }
|
|
|
|
public abstract void Send(MessageContext message, SendSettings settings, InstanceKey correlatesWith, Bookmark sendCompleteBookmark);
|
|
|
|
public abstract void Cancel(Bookmark bookmark);
|
|
|
|
public abstract void OnUninitializeCorrelation(InstanceKey correlationKey);
|
|
|
|
public void RegisterReceive(ReceiveSettings settings, InstanceKey correlatesWith, Bookmark receiveBookmark)
|
|
{
|
|
this.OnRegisterReceive(settings, correlatesWith, receiveBookmark);
|
|
}
|
|
|
|
protected abstract void OnRegisterReceive(ReceiveSettings settings, InstanceKey correlatesWith, Bookmark receiveBookmark);
|
|
}
|
|
}
|