ProjectCollection.RegisterForwardingLoggers(IEnumerable<ForwardingLoggerRecord>) 方法

定义

向用于此集合中的项目生成的远程记录器的集合添加给定的远程记录器。Adds the given remote loggers to the collection of remote loggers used for builds of projects in this collection.

public:
 void RegisterForwardingLoggers(System::Collections::Generic::IEnumerable<Microsoft::Build::Logging::ForwardingLoggerRecord ^> ^ remoteLoggers);
public void RegisterForwardingLoggers (System.Collections.Generic.IEnumerable<Microsoft.Build.Logging.ForwardingLoggerRecord> remoteLoggers);
member this.RegisterForwardingLoggers : seq<Microsoft.Build.Logging.ForwardingLoggerRecord> -> unit
Public Sub RegisterForwardingLoggers (remoteLoggers As IEnumerable(Of ForwardingLoggerRecord))

参数

remoteLoggers
IEnumerable<ForwardingLoggerRecord>

要添加的远程记录器。The remote loggers to add. 可为 null。May be null.

适用于