将自定义发布到客户端监视 Microsoft 文件共享

Microsoft.SystemCenter.CM.AEM.Internal.PublishResponse (Task)

此任务将用户创建的响应写入 OpsMgr 客户端监视 AEM 文件共享。

Element properties:

TargetMicrosoft.SystemCenter.CM.AEM.CrashListener
AccessibilityInternal
CategoryOperations
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
FSWA WriteAction Microsoft.SystemCenter.CM.AEM.Internal.FileShareWA Default

Source Code:

<Task ID="Microsoft.SystemCenter.CM.AEM.Internal.PublishResponse" Target="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener" Enabled="true" Accessibility="Internal">
<Category>Operations</Category>
<WriteAction ID="FSWA" TypeID="Microsoft.SystemCenter.CM.AEM.Internal.FileShareWA">
<FileShareConfiguration>
<LocalLocation>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/LocalFileShareAddr$</LocalLocation>
<Location>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/SharePath$</Location>
<Validate>true</Validate>
<PolicyTextUrl>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/PolicyResponseUrl$</PolicyTextUrl>
<StatusFile>Status</StatusFile>
</FileShareConfiguration>
</WriteAction>
</Task>