Класс NotOutputBufferException

The exception that is thrown when a method that is restricted to Output objects is called on an InputPipelineBuffer.

Пространство имен:  Microsoft.SqlServer.Dts.Pipeline
Сборка:  Microsoft.SqlServer.PipelineHost (в Microsoft.SqlServer.PipelineHost.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public Class NotOutputBufferException _
    Inherits ApplicationException
'Применение
Dim instance As NotOutputBufferException
[SerializableAttribute]
public class NotOutputBufferException : ApplicationException
[SerializableAttribute]
public ref class NotOutputBufferException : public ApplicationException
[<SerializableAttribute>]
type NotOutputBufferException =  
    class
        inherit ApplicationException
    end
public class NotOutputBufferException extends ApplicationException

Замечания

The following methods are restricted to PipelineBuffer objects in Output mode:

Примеры

The following code example generates a NotOutputBufferException.

using System;
using Microsoft.SqlServer.Dts.Pipeline;
using Microsoft.SqlServer.Dts.Pipeline.Design;

namespace DtsDocumentation
{
[DtsPipelineComponent(DisplayName = "MyComponent")]
public class Class1 : PipelineComponent
{
public override void ProcessInput(int inputID, PipelineBuffer buffer)
{
//Causes an NotOutputBufferException
buffer.AddRow();
}
}
}

Иерархия наследования

System. . :: . .Object
  System. . :: . .Exception
    System. . :: . .ApplicationException
      Microsoft.SqlServer.Dts.Pipeline..::..NotOutputBufferException

Потоковая защита

Все открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность элементов экземпляров не гарантируется.