IDiscussionManager.BeginPublish Method
Publishes the discussions so other viewers can see them.
Namespace: Microsoft.TeamFoundation.Discussion.Client
Assembly: Microsoft.TeamFoundation.Discussion.Client (in Microsoft.TeamFoundation.Discussion.Client.dll)
Syntax
'Declaration
Function BeginPublish ( _
discussions As IEnumerable(Of DiscussionThread), _
callback As AsyncCallback, _
userState As Object _
) As IAsyncResult
IAsyncResult BeginPublish(
IEnumerable<DiscussionThread> discussions,
AsyncCallback callback,
Object userState
)
IAsyncResult^ BeginPublish(
IEnumerable<DiscussionThread^>^ discussions,
AsyncCallback^ callback,
Object^ userState
)
abstract BeginPublish :
discussions:IEnumerable<DiscussionThread> *
callback:AsyncCallback *
userState:Object -> IAsyncResult
function BeginPublish(
discussions : IEnumerable<DiscussionThread>,
callback : AsyncCallback,
userState : Object
) : IAsyncResult
Parameters
- discussions
Type: System.Collections.Generic.IEnumerable<DiscussionThread>
- callback
Type: System.AsyncCallback
- userState
Type: System.Object
Return Value
Type: System.IAsyncResult
Returns IAsyncResult.
Remarks
Publish does not sync the client objects with the server.
There can be only one invocation at a time. An exception is thrown if BeginPublish is called when IsPublishing is true.
.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.