NotOutputBufferException Class
The exception that is thrown when a method that is restricted to Output objects is called on an Input PipelineBuffer.
System.Object
System.Exception
System.ApplicationException
Microsoft.SqlServer.Dts.Pipeline.NotOutputBufferException
System.Exception
System.ApplicationException
Microsoft.SqlServer.Dts.Pipeline.NotOutputBufferException
Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)
The NotOutputBufferException type exposes the following members.
| Name | Description | |
|---|---|---|
|
NotOutputBufferException | Initializes a new instance of the NotOutputBufferException class. |
| Name | Description | |
|---|---|---|
|
Data | (Inherited from Exception.) |
|
HelpLink | (Inherited from Exception.) |
|
HResult | (Inherited from Exception.) |
|
InnerException | (Inherited from Exception.) |
|
Message | (Inherited from Exception.) |
|
Source | (Inherited from Exception.) |
|
StackTrace | (Inherited from Exception.) |
|
TargetSite | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetBaseException | (Inherited from Exception.) |
|
GetHashCode | (Inherited from Object.) |
|
GetObjectData | (Inherited from Exception.) |
|
GetType | (Inherited from Exception.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Exception.) |
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(); } } }