IManagementService.Create Method (CreateRequest)

 

Creates a new resource with the specified description and the address of its parent container.

Namespace:   Microsoft.ComplexEventProcessing.ManagementService
Assembly:  Microsoft.ComplexEventProcessing.ManagementService (in Microsoft.ComplexEventProcessing.ManagementService.dll)

Syntax

[FaultContractAttribute(typeof(ManagementFault), Action = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/Fault")]
[FaultContractAttribute(typeof(InvalidDefinitionFault), Action = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/InvalidDefinition")]
[OperationContractAttribute(Action = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/Create", 
    ReplyAction = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/CreateResponse")]
[FaultContractAttribute(typeof(InvalidNameFault), Action = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/InvalidName")]
CreateResponse Create(
    CreateRequest request
)
[FaultContractAttribute((ManagementFault^::typeid), Action = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/Fault")]
[FaultContractAttribute((InvalidDefinitionFault^::typeid), Action = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/InvalidDefinition")]
[OperationContractAttribute(Action = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/Create", 
    ReplyAction = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/CreateResponse")]
[FaultContractAttribute((InvalidNameFault^::typeid), Action = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/InvalidName")]
CreateResponse^ Create(
    CreateRequest^ request
)
[<FaultContractAttribute(typeof(ManagementFault), Action = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/Fault")>]
[<FaultContractAttribute(typeof(InvalidDefinitionFault), Action = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/InvalidDefinition")>]
[<OperationContractAttribute(Action = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/Create",
    ReplyAction = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/CreateResponse")>]
[<FaultContractAttribute(typeof(InvalidNameFault), Action = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/InvalidName")>]
abstract Create : 
        request:CreateRequest -> CreateResponse
<FaultContractAttribute(GetType(ManagementFault), Action := "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/Fault")>
<FaultContractAttribute(GetType(InvalidDefinitionFault), Action := "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/InvalidDefinition")>
<OperationContractAttribute(Action := "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/Create",
    ReplyAction := "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/CreateResponse")>
<FaultContractAttribute(GetType(InvalidNameFault), Action := "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/InvalidName")>
Function Create (
    request As CreateRequest
) As CreateResponse

Parameters

  • request
    Type: Microsoft.ComplexEventProcessing.ManagementService.CreateRequest

    A T: HYPERLINK "https://msdn.microsoft.com/en-us/library/microsoft.complexeventprocessing.managementservice.createrequest.aspx" Microsoft.ComplexEventProcessing.ManagementService.CreateRequest object that contains the resource object’s XML definition and the name of the parent object.

Return Value

Type: Microsoft.ComplexEventProcessing.ManagementService.CreateResponse

A CreateResponse object that contains object name.

See Also

IManagementService Interface
Microsoft.ComplexEventProcessing.ManagementService Namespace

Return to top