DeploymentContributor.PublishMessage Method
Publishes a message to the deployment engine. The deployment engine will process and report the message to consumers.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Sub PublishMessage ( _
message As DataSchemaError _
)
protected void PublishMessage(
DataSchemaError message
)
protected:
void PublishMessage(
DataSchemaError^ message
)
member PublishMessage :
message:DataSchemaError -> unit
protected function PublishMessage(
message : DataSchemaError
)
Parameters
- message
Type: Microsoft.Data.Schema.DataSchemaError
A DataSchemaError that contains the message to publish.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The message parameter is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Data.Schema.Build Namespace
ContributorEventArgs