You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -0,0 +1,31 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <copyright file="SmiEventStream.cs" company="Microsoft">
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// </copyright>
|
||||
// <owner current="true" primary="true">[....]</owner>
|
||||
// <owner current="true" primary="false">[....]</owner>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Microsoft.SqlServer.Server {
|
||||
|
||||
using System;
|
||||
|
||||
internal abstract class SmiEventStream : IDisposable {
|
||||
|
||||
internal abstract bool HasEvents { get; }
|
||||
|
||||
internal abstract void Close( SmiEventSink sink );
|
||||
|
||||
public virtual void Dispose( ) {
|
||||
// Obsoleting from SMI -- use Close instead.
|
||||
// Intended to be removed (along with inheriting IDisposable) prior to RTM.
|
||||
|
||||
// Implement body with throw because there are only a couple of ways to get to this code:
|
||||
// 1) Client is calling this method even though the server negotiated for V3+ and dropped support for V2-.
|
||||
// 2) Server didn't implement V2- on some interface and negotiated V2-.
|
||||
System.Data.Common.ADP.InternalError( System.Data.Common.ADP.InternalErrorCode.UnimplementedSMIMethod );
|
||||
}
|
||||
|
||||
internal abstract void ProcessEvent( SmiEventSink sink );
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user