Export (0) Print
Expand All

NotOutputBufferException Class

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

Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

[SerializableAttribute] 
public class NotOutputBufferException : ApplicationException
/** @attribute SerializableAttribute() */ 
public class NotOutputBufferException extends ApplicationException
SerializableAttribute 
public class NotOutputBufferException extends ApplicationException

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


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

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();
}
}
}

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions

ADD
Show:
© 2015 Microsoft