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 Input PipelineBuffer.

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

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

[SerializableAttribute]
public class NotOutputBufferException : ApplicationException

The NotOutputBufferException type exposes the following members.

  NameDescription
Public methodNotOutputBufferExceptionInitializes a new instance of the NotOutputBufferException class.
Top

  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataSecurity Critical. (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Exception.)
Top

  NameDescription
Protected eventSerializeObjectState (Inherited from Exception.)
Top

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft