NotOutputBufferException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The exception that is thrown when a method that is restricted to Output objects is called on an InputPipelineBuffer.
public ref class NotOutputBufferException : ApplicationException
[System.Serializable]
public class NotOutputBufferException : ApplicationException
[<System.Serializable>]
type NotOutputBufferException = class
inherit ApplicationException
Public Class NotOutputBufferException
Inherits ApplicationException
- Inheritance
-
NotOutputBufferException
- Attributes
Examples
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();
}
}
}
Remarks
The following methods are restricted to PipelineBuffer objects in Output mode:
Constructors
NotOutputBufferException() |
Initializes a new instance of the NotOutputBufferException class. |