共用方式為


NotOutputBufferException Class

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 (in microsoft.sqlserver.pipelinehost.dll)

語法

'宣告
<SerializableAttribute> _
Public Class NotOutputBufferException
    Inherits ApplicationException
[SerializableAttribute] 
public class NotOutputBufferException : ApplicationException
[SerializableAttribute] 
public ref class NotOutputBufferException : public 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:

Inheritance Hierarchy

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

NotOutputBufferException Members
Microsoft.SqlServer.Dts.Pipeline Namespace