다음을 통해 공유


IDeploymentConflictCollection.Add 메서드

정의

IDeploymentConflict 개체를 이 컬렉션에 추가합니다.

public:
 Microsoft::VisualStudio::SharePoint::Deployment::IDeploymentConflict ^ Add(System::String ^ description, Func<Microsoft::VisualStudio::SharePoint::ISharePointProjectItem ^, bool> ^ resolve, bool promptBeforeResolve);
public Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentConflict Add(string description, Func<Microsoft.VisualStudio.SharePoint.ISharePointProjectItem,bool> resolve, bool promptBeforeResolve);
abstract member Add : string * Func<Microsoft.VisualStudio.SharePoint.ISharePointProjectItem, bool> * bool -> Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentConflict
Public Function Add (description As String, resolve As Func(Of ISharePointProjectItem, Boolean), promptBeforeResolve As Boolean) As IDeploymentConflict

매개 변수

description
String

배포 충돌에 대한 설명입니다.

resolve
Func<ISharePointProjectItem,Boolean>

충돌을 해결할 수 있는 대리자입니다. 대리자는 부울 반환 값과 ISharePointProjectItem 형식의 단일 매개 변수가 있어야 합니다.

promptBeforeResolve
Boolean

true 대리자를 실행하기 전에 resolve 사용자에게 메시지가 표시되면 이고, false그렇지 않으면 입니다.

반환

배포 충돌을 나타내는 새 개체입니다.

설명

배포 충돌을 처리하는 개체를 만드는 IDeploymentConflict 방법을 보여 주는 예제는 방법: 배포 충돌 처리를 참조하세요.

적용 대상