Skip to content

Commit

Permalink
Update: only add to the netcoreapp ref assembly.
Browse files Browse the repository at this point in the history
  • Loading branch information
imcarolwang committed Nov 18, 2024
1 parent 6bf8c8c commit f150766
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
// Changes to this file must follow the http://aka.ms/api-review process.
// ------------------------------------------------------------------------------

using System.Collections.ObjectModel;

namespace System.ServiceModel
{
public abstract partial class ChannelFactory : System.IAsyncDisposable
Expand Down Expand Up @@ -49,3 +51,19 @@ public abstract partial class SecurityTokenProvider
protected virtual System.Threading.Tasks.Task CancelTokenCoreAsync(System.TimeSpan timeout, System.IdentityModel.Tokens.SecurityToken token) { return default; }
}
}
namespace System.ServiceModel.Dispatcher
{
public sealed partial class ClientRuntime
{
internal bool EnableFaults { get { return default; } set { } }
}
public partial class ChannelDispatcher
{
public Collection<IErrorHandler> ErrorHandlers { get { return default; } }
}
public interface IErrorHandler
{
void ProvideFault(Exception error, System.ServiceModel.Channels.MessageVersion version, ref System.ServiceModel.Channels.Message fault);
bool HandleError(Exception error);
}
}

0 comments on commit f150766

Please sign in to comment.