NotOutputBufferException 類別
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 (在 Microsoft.SqlServer.PipelineHost.dll 中)
語法
'宣告
<SerializableAttribute> _
Public Class NotOutputBufferException _
Inherits ApplicationException
'用途
Dim instance As NotOutputBufferException
[SerializableAttribute]
public class NotOutputBufferException : ApplicationException
[SerializableAttribute]
public ref class NotOutputBufferException : public ApplicationException
[<SerializableAttribute>]
type NotOutputBufferException =
class
inherit ApplicationException
end
public class NotOutputBufferException extends ApplicationException
範例
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();
}
}
}
繼承階層
System. . :: . .Object
System. . :: . .Exception
System. . :: . .ApplicationException
Microsoft.SqlServer.Dts.Pipeline..::..NotOutputBufferException
執行緒安全性
這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。