DiscussionWebService.PublishDiscussions 메서드
네임스페이스: Microsoft.TeamFoundation.Discussion.Server
어셈블리: Microsoft.TeamFoundation.Discussion.Server(Microsoft.TeamFoundation.Discussion.Server.dll)
구문
‘선언
<WebMethodAttribute> _
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := False)> _
Public Function PublishDiscussions ( _
legacyDiscussions As LegacyDiscussionThread(), _
legacyComments As LegacyComment(), _
deletedComments As CommentId(), _
<OutAttribute> ByRef commentIds As List(Of Short), _
<OutAttribute> ByRef lastUpdatedDate As DateTime _
) As List(Of Integer)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)]
public List<int> PublishDiscussions(
LegacyDiscussionThread[] legacyDiscussions,
LegacyComment[] legacyComments,
CommentId[] deletedComments,
out List<short> commentIds,
out DateTime lastUpdatedDate
)
매개 변수
- legacyDiscussions
형식: array<Microsoft.TeamFoundation.Discussion.Server.LegacyDiscussionThread[]
- legacyComments
형식: array<Microsoft.TeamFoundation.Discussion.Server.LegacyComment[]
- deletedComments
형식: array<Microsoft.TeamFoundation.Discussion.Server.CommentId[]
- commentIds
형식: System.Collections.Generic.List<Int16>%
- lastUpdatedDate
형식: System.DateTime%
반환 값
형식: System.Collections.Generic.List<Int32>
List<T> 를 반환합니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.