共用方式為


DiscussionThreadsController.PostThread 方法

命名空間:  Microsoft.TeamFoundation.Discussion.Server
組件:  Microsoft.TeamFoundation.Discussion.Server (在 Microsoft.TeamFoundation.Discussion.Server.dll 中)

語法

'宣告
<ClientLocationIdAttribute("A50DDBE2-1A1D-4C55-857F-73C6A3A31722")> _
<ClientResponseTypeAttribute(GetType(DiscussionThread), Nothing, Nothing)> _
Public Function PostThread ( _
    newThread As DiscussionThread _
) As HttpResponseMessage
[ClientLocationIdAttribute("A50DDBE2-1A1D-4C55-857F-73C6A3A31722")]
[ClientResponseTypeAttribute(typeof(DiscussionThread), null, null)]
public HttpResponseMessage PostThread(
    DiscussionThread newThread
)

參數

  • newThread
    類型:DiscussionThread

傳回值

類型:System.Net.Http.HttpResponseMessage

.NET Framework 安全性

請參閱

參考

DiscussionThreadsController 類別

Microsoft.TeamFoundation.Discussion.Server 命名空間