2009-02-10 3 views

Répondre

1

L'utilisateur doit être un administrateur TFS pour ajouter un gestionnaire d'événements SOAP. Pour contourner ce problème, vous pouvez écrire votre propre service Web qui emprunte l'identité d'un administrateur TFS et permet à l'appelant d'enregistrer son gestionnaire.

Here's a URL that has code similar to this.

0
''' <summary> 
''' This is the service contract for integrating with the Team Foundation Server notification events. 
''' </summary> 
''' <remarks></remarks> 
<ServiceContract(Namespace:="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Notification/03")> _ 
Public Interface INotification 

    ''' <summary> 
    ''' The Notify method if fired whenever a subscribed event arrives. 
    ''' </summary> 
    ''' <param name="eventXml">This XML defines the data that was changed on the event.</param> 
    ''' <param name="tfsIdentityXml">This XML identifies the Team Foundation Server the event came from.</param> 
    ''' <param name="SubscriptionInfo">Information about the subscriber</param> 
    ''' <remarks></remarks> 
    <OperationContract(_ 
        Action:="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Notification/03/Notify", _ 
        ReplyAction:="*" _ 
        )> _ 
    <XmlSerializerFormat(_ 
        Style:=OperationFormatStyle.Document _ 
        )> _ 
    Sub Notify(ByVal eventXml As String, ByVal tfsIdentityXml As String, ByVal SubscriptionInfo As SubscriptionInfo) 

End Interface 
Questions connexes